|
|
@ -750,6 +750,11 @@ void CBaseDoor::Blocked( CBaseEntity *pOther ) |
|
|
|
// so let it just squash the object to death real fast
|
|
|
|
// so let it just squash the object to death real fast
|
|
|
|
if( m_flWait >= 0 ) |
|
|
|
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 ) |
|
|
|
if( m_toggle_state == TS_GOING_DOWN ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
DoorGoUp(); |
|
|
|
DoorGoUp(); |
|
|
|