MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / AircraftEventHandler_TakeOff

Function AircraftEventHandler_TakeOff

src/aircraft_cmd.cpp:1639–1643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1637}
1638
1639static void AircraftEventHandler_TakeOff(Aircraft *v, const AirportFTAClass *)
1640{
1641 PlayAircraftSound(v); // play takeoffsound for airplanes
1642 v->state = STARTTAKEOFF;
1643}
1644
1645static void AircraftEventHandler_StartTakeOff(Aircraft *v, const AirportFTAClass *)
1646{

Callers

nothing calls this directly

Calls 1

PlayAircraftSoundFunction · 0.85

Tested by

no test coverage detected