Do not add player velocity when stage != 2

This commit is contained in:
mittorn 2016-04-02 20:01:48 +00:00
parent c99eca226f
commit 86cf57a7c8
1 changed files with 1 additions and 1 deletions

View File

@ -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);