mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 11:19:39 +01:00
Merge fix for blocked door sound from bubblemod.
This commit is contained in:
parent
6e1059026f
commit
b7d1bd3235
@ -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…
Reference in New Issue
Block a user