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

Function PlayAircraftSound

src/aircraft_cmd.cpp:587–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587static void PlayAircraftSound(const Vehicle *v)
588{
589 if (!PlayVehicleSound(v, VSE_START)) {
590 SndPlayVehicleFx(AircraftVehInfo(v->engine_type)->sfx, v);
591 }
592}
593
594
595/**

Callers 1

Calls 3

PlayVehicleSoundFunction · 0.85
SndPlayVehicleFxFunction · 0.85
AircraftVehInfoFunction · 0.85

Tested by

no test coverage detected