From 8cebe2f607d65de4df376bb5bc4f3caac62a2616 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 16 Nov 2005 12:52:01 +0000 Subject: (svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection --- train_cmd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'train_cmd.c') 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) { -- cgit v1.2.3-54-g00ecf