summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-04-02 00:17:16 +0000
committerDarkvater <darkvater@openttd.org>2005-04-02 00:17:16 +0000
commit35ff9d850ce25093952014629d1f8dd5266a02e1 (patch)
treefde65c299d8a73ca934929b585dfe5dfedd2bda2 /aircraft_cmd.c
parent043ac73b1921ed8588fe5fe2bea101d3060e7280 (diff)
downloadopenttd-35ff9d850ce25093952014629d1f8dd5266a02e1.tar.xz
(svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function)
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 3424f9e5d..f16d4a75b 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -65,6 +65,7 @@ static uint16 FindNearestHangar(const Vehicle *v)
return index;
}
+#if 0
// returns true if vehicle v have an airport in the schedule, that has a hangar
static bool HaveHangarInOrderList(Vehicle *v)
{
@@ -82,6 +83,7 @@ static bool HaveHangarInOrderList(Vehicle *v)
return false;
}
+#endif
int GetAircraftImage(Vehicle *v, byte direction)
{