summaryrefslogtreecommitdiff
path: root/roadveh_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 /roadveh_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 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index bc29715a9..c1d4dd4b0 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -1733,10 +1733,6 @@ void OnNewDay_RoadVeh(Vehicle *v)
InvalidateWindowClasses(WC_ROADVEH_LIST);
}
-void HandleClickOnRoadVeh(Vehicle *v)
-{
- ShowRoadVehViewWindow(v);
-}
void RoadVehiclesYearlyLoop(void)
{