Revert "Revert unneeded changes."

This reverts commit 6d2a869ecdd0bc10b17733b78651c5528a099ec7.
This commit is contained in:
Night Owl 2017-07-19 02:51:17 +05:00
parent c2a1b013c2
commit 9dff875d32

View File

@ -117,15 +117,17 @@ void CSatchelCharge::SatchelSlide( CBaseEntity *pOther )
{ {
// Fix for a bug in engine: when object isn't moving, but its speed isn't 0 and on ground isn't set // Fix for a bug in engine: when object isn't moving, but its speed isn't 0 and on ground isn't set
if( pev->origin != m_lastBounceOrigin ) if( pev->origin != m_lastBounceOrigin )
BounceSound(); BounceSound();
} }
m_lastBounceOrigin = pev->origin; m_lastBounceOrigin = pev->origin;
StudioFrameAdvance(); // There is no model animation so commented this out to prevent net traffic
// StudioFrameAdvance();
} }
void CSatchelCharge::SatchelThink( void ) void CSatchelCharge::SatchelThink( void )
{ {
StudioFrameAdvance(); // There is no model animation so commented this out to prevent net traffic
// StudioFrameAdvance();
pev->nextthink = gpGlobals->time + 0.1; pev->nextthink = gpGlobals->time + 0.1;
if( !IsInWorld() ) if( !IsInWorld() )