From e4117dbfb7c940180eb8aab7f9d0a726364078ab Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 13 Aug 2010 00:21:03 +0000 Subject: (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation --- src/newgrf_engine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/newgrf_engine.cpp') 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 -- cgit v1.2.3-54-g00ecf