diff options
author | tron <tron@openttd.org> | 2005-11-16 12:52:01 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-16 12:52:01 +0000 |
commit | d09db07ca1a0b3a828eb57dd1cc11915d099f1de (patch) | |
tree | 6a81d9964315da3bfab1a7f95113437645b8207b /train_cmd.c | |
parent | 7b69def47a2498dafe53041e0c94e7f448bbb9ef (diff) | |
download | openttd-d09db07ca1a0b3a828eb57dd1cc11915d099f1de.tar.xz |
(svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
Diffstat (limited to 'train_cmd.c')
-rw-r--r-- | train_cmd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/train_cmd.c b/train_cmd.c index 5a6fc9feb..31e74ee75 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -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) { |