mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753)
This commit is contained in:
@@ -177,22 +177,22 @@ static byte MapAircraftMovementState(const Aircraft *v)
|
||||
switch (v->state) {
|
||||
case HANGAR:
|
||||
/* The international airport is a special case as helicopters can land in
|
||||
* front of the hanger. Helicopters also change their air.state to
|
||||
* front of the hangar. Helicopters also change their air.state to
|
||||
* AMED_HELI_LOWER some time before actually descending. */
|
||||
|
||||
/* This condition only occurs for helicopters, during descent,
|
||||
* to a landing by the hanger of an international airport. */
|
||||
* to a landing by the hangar of an international airport. */
|
||||
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. */
|
||||
* to a landing by the hangar of an international airport. */
|
||||
if (amdflag & AMED_SLOWTURN) return AMS_TTDP_FLIGHT_TO_TOWER;
|
||||
|
||||
/* The final two conditions apply to helicopters or aircraft.
|
||||
* Has reached hanger? */
|
||||
* Has reached hangar? */
|
||||
if (amdflag & AMED_EXACTPOS) return AMS_TTDP_HANGAR;
|
||||
|
||||
/* Still moving towards hanger. */
|
||||
/* Still moving towards hangar. */
|
||||
return AMS_TTDP_TO_HANGAR;
|
||||
|
||||
case TERM1:
|
||||
@@ -320,7 +320,7 @@ static byte MapAircraftMovementAction(const Aircraft *v)
|
||||
case STARTTAKEOFF: // Accelerating down runway
|
||||
case ENDTAKEOFF: // Ascent
|
||||
case HELITAKEOFF:
|
||||
/* @todo Need to find which terminal (or hanger) we've come from. How? */
|
||||
/* @todo Need to find which terminal (or hangar) we've come from. How? */
|
||||
return AMA_TTDP_PAD1_TO_TAKEOFF;
|
||||
|
||||
case FLYING:
|
||||
|
Reference in New Issue
Block a user