mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +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;
|
ent->pev->velocity = (target - origin).Normalize()*550;
|
||||||
pev->velocity.z += 15;
|
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
|
#ifdef BEAMS
|
||||||
CBeam* m_pBeam1 = CBeam::BeamCreate(GRAV_BEAM_SPRITE, 40);
|
CBeam* m_pBeam1 = CBeam::BeamCreate(GRAV_BEAM_SPRITE, 40);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user