Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
587
static 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
AircraftEventHandler_TakeOff
Function · 0.85
Calls
3
PlayVehicleSound
Function · 0.85
SndPlayVehicleFx
Function · 0.85
AircraftVehInfo
Function · 0.85
Tested by
no test coverage detected