ITEM_LONGJUMP: Cancel out any other velocity on the player as it's clearly too much

This commit is contained in:
Marco Cawthorne 2019-08-19 02:46:43 -07:00
parent d207ad33de
commit 4b1a859460

View file

@ -407,7 +407,7 @@ void PMove_Run_Acceleration(float flMovetime, float flBefore)
} else {
#ifdef VALVE
if (self.flags & FL_CROUCHING && Items_CheckItem(self, 0x00008000)) {
self.velocity += v_forward * 512;
self.velocity = v_forward * 512;
self.velocity[2] += 100;
}
#endif