mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
Revert "Revert unneeded changes."
This reverts commit 6d2a869ecdd0bc10b17733b78651c5528a099ec7.
This commit is contained in:
parent
c2a1b013c2
commit
9dff875d32
@ -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…
x
Reference in New Issue
Block a user