Browse Source

Do not add player velocity when stage != 2

AR2
mittorn 6 years ago
parent
commit
86cf57a7c8
  1. 2
      dlls/gravgun.cpp

2
dlls/gravgun.cpp

@ -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…
Cancel
Save