diff options
author | tron <tron@openttd.org> | 2005-09-30 20:37:25 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-09-30 20:37:25 +0000 |
commit | ed8c9c91d66f593dc3fae5cef4469ded311f6d75 (patch) | |
tree | 1e61685bece04279bd25b3f79e645384c1d83405 /aircraft_cmd.c | |
parent | af5b74f0edfb02077f55d6c1ac6713d3aa18d753 (diff) | |
download | openttd-ed8c9c91d66f593dc3fae5cef4469ded311f6d75.tar.xz |
(svn r3001) s/Player*/const Player*/
s/byte/PlayerID/
s/int/PlayerID/
and related changes
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r-- | aircraft_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index 69b008be7..55568c474 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -1518,7 +1518,7 @@ static void AircraftEventHandler_EndTakeOff(Vehicle *v, const AirportFTAClass *A static void AircraftEventHandler_HeliTakeOff(Vehicle *v, const AirportFTAClass *Airport) { - Player *p = GetPlayer(v->owner); + const Player* p = GetPlayer(v->owner); v->sprite_width = v->sprite_height = 24; // ??? no idea what this is v->u.air.state = FLYING; // get the next position to go to, differs per airport @@ -1582,7 +1582,7 @@ static void AircraftEventHandler_Flying(Vehicle *v, const AirportFTAClass *Airpo static void AircraftEventHandler_Landing(Vehicle *v, const AirportFTAClass *Airport) { - Player *p = GetPlayer(v->owner); + const Player* p = GetPlayer(v->owner); AircraftLandAirplane(v); // maybe crash airplane v->u.air.state = ENDLANDING; // check if the aircraft needs to be replaced or renewed and send it to a hangar if needed |