mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
Do not detonate hand grenade after weapon switch.
This commit is contained in:
parent
b66f1cb394
commit
6e1059026f
@ -103,6 +103,12 @@ void CHandGrenade::Holster( int skiplocal /* = 0 */ )
|
|||||||
pev->nextthink = gpGlobals->time + 0.1;
|
pev->nextthink = gpGlobals->time + 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( m_flStartThrow )
|
||||||
|
{
|
||||||
|
m_flStartThrow = 0;
|
||||||
|
m_flReleaseThrow = 0;
|
||||||
|
}
|
||||||
|
|
||||||
EMIT_SOUND( ENT( m_pPlayer->pev ), CHAN_WEAPON, "common/null.wav", 1.0, ATTN_NORM );
|
EMIT_SOUND( ENT( m_pPlayer->pev ), CHAN_WEAPON, "common/null.wav", 1.0, ATTN_NORM );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user