mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Do not add player velocity when stage != 2
This commit is contained in:
parent
c99eca226f
commit
86cf57a7c8
@ -504,7 +504,7 @@ void CGrav::Pull(CBaseEntity* ent,float force)
|
||||
ent->pev->velocity = (target - origin).Normalize()*550;
|
||||
pev->velocity.z += 15;
|
||||
}
|
||||
ent->pev->velocity = ent->pev->velocity + m_pPlayer->pev->velocity;
|
||||
//ent->pev->velocity = ent->pev->velocity + m_pPlayer->pev->velocity;
|
||||
/////
|
||||
#ifdef BEAMS
|
||||
CBeam* m_pBeam1 = CBeam::BeamCreate(GRAV_BEAM_SPRITE, 40);
|
||||
|
Loading…
Reference in New Issue
Block a user