mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Fix Headcrab canister precache
► Fixed an issue where the console would be spammed with precache messages on dm_runoff.
This commit is contained in:
parent
a62efecf62
commit
57ac9b8ad9
1 changed files with 4 additions and 1 deletions
|
@ -314,7 +314,10 @@ void CEnvHeadcrabCanister::Spawn( void )
|
|||
void CEnvHeadcrabCanister::UpdateOnRemove()
|
||||
{
|
||||
BaseClass::UpdateOnRemove();
|
||||
StopSound( "HeadcrabCanister.AfterLanding" );
|
||||
|
||||
if ( m_bLanded || m_bOpened )
|
||||
StopSound( "HeadcrabCanister.AfterLanding" );
|
||||
|
||||
if ( m_hTrail )
|
||||
{
|
||||
UTIL_Remove( m_hTrail );
|
||||
|
|
Loading…
Reference in a new issue