--- a/aircraft_cmd.c Fri Sep 30 09:58:59 2005 +0000
+++ b/aircraft_cmd.c Fri Sep 30 20:37:25 2005 +0000
@@ -1518,7 +1518,7 @@
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_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