mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Fix hot bolt issue
► Fixed an issue where the velocity would be transferred to the player standing on a bolt that landed.
This commit is contained in:
parent
a62efecf62
commit
f15b0826ae
1 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@ void CCrossbowBolt::BoltTouch( CBaseEntity *pOther )
|
|||
else
|
||||
{
|
||||
SetThink( &CCrossbowBolt::SUB_Remove );
|
||||
SetNextThink( gpGlobals->curtime + 2.0f );
|
||||
SetNextThink( gpGlobals->curtime );
|
||||
|
||||
//FIXME: We actually want to stick (with hierarchy) to what we've hit
|
||||
SetMoveType( MOVETYPE_NONE );
|
||||
|
@ -326,7 +326,7 @@ void CCrossbowBolt::BoltTouch( CBaseEntity *pOther )
|
|||
AddEffects( EF_NODRAW );
|
||||
SetTouch( NULL );
|
||||
SetThink( &CCrossbowBolt::SUB_Remove );
|
||||
SetNextThink( gpGlobals->curtime + 2.0f );
|
||||
SetNextThink( gpGlobals->curtime );
|
||||
|
||||
if ( m_pGlowSprite != NULL )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue