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

Method PlayLeaveStationSound

src/ship_cmd.cpp:311–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void Ship::PlayLeaveStationSound(bool force) const
312{
313 if (PlayVehicleSound(this, VSE_START, force)) return;
314 SndPlayVehicleFx(ShipVehInfo(this->engine_type)->sfx, this);
315}
316
317TileIndex Ship::GetOrderStationLocation(StationID station)
318{

Callers 2

CheckShipStayInDepotFunction · 0.45
OnHotkeyMethod · 0.45

Calls 3

PlayVehicleSoundFunction · 0.85
SndPlayVehicleFxFunction · 0.85
ShipVehInfoFunction · 0.85

Tested by

no test coverage detected