source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Fix non-looping sounds not stopping when requested

Open speedvoltage opened this issue 9 months ago • 0 comments

Issue: Non-looping are immune to the StopSound input in Hammer for some reason.

Fix: When the StopSound input is sent to an ambient_generic, ensure that the sound is stopped by setting m_fActive to the correct value.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage