Browse Source

Revert "Revert unneeded changes."

This reverts commit 6d2a869ecd.
halloween
Night Owl 7 years ago
parent
commit
9dff875d32
  1. 8
      dlls/satchel.cpp

8
dlls/satchel.cpp

@ -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() )

Loading…
Cancel
Save