MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / SoundUpdate

Method SoundUpdate

src/game/server/trains.cpp:1790–1887  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Update pitch based on speed, start sound if not playing. NOTE: when train goes through transition, m_bSoundPlaying should become false, which will cause the looped sound to restart. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

UpdateDriverControlsMethod · 0.45
DriveCraneMethod · 0.45
DriveCannonMethod · 0.45

Calls 5

clampFunction · 0.85
fabsFunction · 0.85
RemapValFunction · 0.85
IsMultiplayerMethod · 0.45
MakeReliableMethod · 0.45

Tested by

no test coverage detected