summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-13 00:21:03 +0000
committeryexo <yexo@openttd.org>2010-08-13 00:21:03 +0000
commite4117dbfb7c940180eb8aab7f9d0a726364078ab (patch)
treee0002846625fbb2d70754311692d3401cdc3130f /src/newgrf_engine.cpp
parent6babc602542ebb2b6fb43fd2f2f46cc7ed4c2236 (diff)
downloadopenttd-e4117dbfb7c940180eb8aab7f9d0a726364078ab.tar.xz
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
Diffstat (limited to 'src/newgrf_engine.cpp')
-rw-r--r--src/newgrf_engine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp
index 92f6f0eb2..fd8835b8a 100644
--- a/src/newgrf_engine.cpp
+++ b/src/newgrf_engine.cpp
@@ -242,7 +242,7 @@ static byte MapAircraftMovementState(const Aircraft *v)
case HELIPAD1:
case HELIPAD2:
case HELIPAD3:
- case HELIPAD4: // Will only occur for helicopters.
+ /* Will only occur for helicopters.*/
if (amdflag & AMED_HELI_LOWER) return AMS_TTDP_HELI_LAND_AIRPORT; // Descending.
if (amdflag & AMED_SLOWTURN) return AMS_TTDP_FLIGHT_TO_TOWER; // Still hasn't started descent.
return AMS_TTDP_TO_JUNCTION; // On the ground.
@@ -340,7 +340,6 @@ static byte MapAircraftMovementAction(const Aircraft *v)
case TERM7:
case TERM8:
case HELIPAD3:
- case HELIPAD4:
return (v->current_order.IsType(OT_LOADING)) ? AMA_TTDP_ON_PAD3 : AMA_TTDP_LANDING_TO_PAD3;
case TAKEOFF: // Moving to takeoff position