diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-30 21:23:01 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-30 21:23:01 +0000 |
commit | 65c163668a1d9e5150645ad0c6d83869e5792c3c (patch) | |
tree | f23bbbdd567f2728cd7c662004f10f12e01f6307 /newgrf_engine.c | |
parent | 2d88fb54b9579b30759ef81bec670c4bfb850344 (diff) | |
download | openttd-65c163668a1d9e5150645ad0c6d83869e5792c3c.tar.xz |
(svn r5047) - NewGRF: fix typo of AIRPORT in enum
Diffstat (limited to 'newgrf_engine.c')
-rw-r--r-- | newgrf_engine.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c index 79abce13c..8d33c9eab 100644 --- a/newgrf_engine.c +++ b/newgrf_engine.c @@ -241,9 +241,9 @@ enum { AMS_TTDP_FLIGHT_FINAL, AMS_TTDP_FLIGHT_DESCENT, AMS_TTDP_BRAKING, - AMS_TTDP_HELI_TAKEOFF_AIRPOPT, - AMS_TTDP_HELI_TO_TAKEOFF_AIRPOPT, - AMS_TTDP_HELI_LAND_AIRPOPT, + AMS_TTDP_HELI_TAKEOFF_AIRPORT, + AMS_TTDP_HELI_TO_TAKEOFF_AIRPORT, + AMS_TTDP_HELI_LAND_AIRPORT, AMS_TTDP_HELI_TAKEOFF_HELIPORT, AMS_TTDP_HELI_TO_TAKEOFF_HELIPORT, AMS_TTDP_HELI_LAND_HELIPORT, @@ -267,7 +267,7 @@ static byte MapAircraftMovementState(const Vehicle *v) /* This condition only occurs for helicopters, during descent, * to a landing by the hanger of an international airport. */ - if (amdflag & AMED_HELI_LOWER) return AMS_TTDP_HELI_LAND_AIRPOPT; + if (amdflag & AMED_HELI_LOWER) return AMS_TTDP_HELI_LAND_AIRPORT; /* This condition only occurs for helicopters, before starting descent, * to a landing by the hanger of an international airport. */ @@ -298,7 +298,7 @@ static byte MapAircraftMovementState(const Vehicle *v) case HELIPAD1: case HELIPAD2: // Will only occur for helicopters. - if (amdflag & AMED_HELI_LOWER) return AMS_TTDP_HELI_LAND_AIRPOPT; // Descending. + 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. @@ -317,7 +317,7 @@ static byte MapAircraftMovementState(const Vehicle *v) case AT_LARGE: case AT_METROPOLITAN: case AT_INTERNATIONAL: - if (amdflag & AMED_HELI_RAISE) return AMS_TTDP_HELI_TAKEOFF_AIRPOPT; + if (amdflag & AMED_HELI_RAISE) return AMS_TTDP_HELI_TAKEOFF_AIRPORT; return AMS_TTDP_TO_JUNCTION; case AT_HELIPORT: @@ -325,7 +325,7 @@ static byte MapAircraftMovementState(const Vehicle *v) return AMS_TTDP_HELI_TAKEOFF_HELIPORT; default: - return AMS_TTDP_HELI_TAKEOFF_AIRPOPT; + return AMS_TTDP_HELI_TAKEOFF_AIRPORT; } case FLYING: @@ -348,7 +348,7 @@ static byte MapAircraftMovementState(const Vehicle *v) return AMS_TTDP_HELI_LAND_HELIPORT; default: - return AMS_TTDP_HELI_LAND_AIRPOPT; + return AMS_TTDP_HELI_LAND_AIRPORT; } } return AMS_TTDP_FLIGHT_TO_TOWER; |