summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-16 12:52:01 +0000
committertron <tron@openttd.org>2005-11-16 12:52:01 +0000
commit8cebe2f607d65de4df376bb5bc4f3caac62a2616 (patch)
tree6a81d9964315da3bfab1a7f95113437645b8207b /train_cmd.c
parent272d63b0621c0d6fad5e117fab67061c8ae4ac2f (diff)
downloadopenttd-8cebe2f607d65de4df376bb5bc4f3caac62a2616.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.c5
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)
{