(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:
tron
2005-11-16 12:52:01 +00:00
parent 272d63b062
commit 8cebe2f607
6 changed files with 19 additions and 36 deletions

View File

@@ -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)
{