forked from mirror/OpenTTD
(svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
This commit is contained in:
@@ -3630,11 +3630,6 @@ void TrainsYearlyLoop(void)
|
||||
}
|
||||
}
|
||||
|
||||
void HandleClickOnTrain(Vehicle *v)
|
||||
{
|
||||
if (v->subtype != TS_Front_Engine) v = GetFirstVehicleInChain(v);
|
||||
ShowTrainViewWindow(v);
|
||||
}
|
||||
|
||||
void InitializeTrains(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user