mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Revert unneeded changes.
This commit is contained in:
parent
5dab1c1f1d
commit
6d2a869ecd
@ -117,17 +117,15 @@ 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;
|
||||||
// There is no model animation so commented this out to prevent net traffic
|
StudioFrameAdvance();
|
||||||
// StudioFrameAdvance();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSatchelCharge::SatchelThink( void )
|
void CSatchelCharge::SatchelThink( void )
|
||||||
{
|
{
|
||||||
// There is no model animation so commented this out to prevent net traffic
|
StudioFrameAdvance();
|
||||||
// StudioFrameAdvance();
|
|
||||||
pev->nextthink = gpGlobals->time + 0.1;
|
pev->nextthink = gpGlobals->time + 0.1;
|
||||||
|
|
||||||
if( !IsInWorld() )
|
if( !IsInWorld() )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user