Browse Source

Merge fix for blocked door sound from bubblemod.

halloween
Night Owl 8 years ago
parent
commit
b7d1bd3235
  1. 5
      dlls/doors.cpp

5
dlls/doors.cpp

@ -750,6 +750,11 @@ void CBaseDoor::Blocked( CBaseEntity *pOther ) @@ -750,6 +750,11 @@ void CBaseDoor::Blocked( CBaseEntity *pOther )
// so let it just squash the object to death real fast
if( m_flWait >= 0 )
{
// BMod Start - Door sound fix.
if( !FBitSet( pev->spawnflags, SF_DOOR_SILENT ) )
STOP_SOUND( ENT( pev ), CHAN_STATIC, (char*)STRING( pev->noiseMoving ) );
// BMod End
if( m_toggle_state == TS_GOING_DOWN )
{
DoorGoUp();

Loading…
Cancel
Save