summaryrefslogtreecommitdiff
path: root/aircraft_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 /aircraft_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 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 207793621..c30cf1a5d 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -538,10 +538,6 @@ int32 CmdRefitAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
return cost;
}
-void HandleClickOnAircraft(Vehicle *v)
-{
- ShowAircraftViewWindow(v);
-}
static void CheckIfAircraftNeedsService(Vehicle *v)
{