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
commitd09db07ca1a0b3a828eb57dd1cc11915d099f1de (patch)
tree6a81d9964315da3bfab1a7f95113437645b8207b /aircraft_cmd.c
parent7b69def47a2498dafe53041e0c94e7f448bbb9ef (diff)
downloadopenttd-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 '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)
{