From 2d71df9b77854039bc026f46553076ec5467b065 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 17 Apr 2017 12:21:41 +1000 Subject: [PATCH] Make sure raptor can't give fall damage when exiting during launch sequence --- qcsrc/common/vehicles/vehicle/raptor.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/vehicles/vehicle/raptor.qc b/qcsrc/common/vehicles/vehicle/raptor.qc index 269ea5fef..5424d1cdf 100644 --- a/qcsrc/common/vehicles/vehicle/raptor.qc +++ b/qcsrc/common/vehicles/vehicle/raptor.qc @@ -462,6 +462,7 @@ bool raptor_takeoff(entity this, float dt) PHYS_INPUT_BUTTON_ATCK(this) = PHYS_INPUT_BUTTON_ATCK2(this) = PHYS_INPUT_BUTTON_CROUCH(this) = false; setorigin(this, vehic.origin + '0 0 32'); + this.oldorigin = this.origin; } else this.PlayerPhysplug = raptor_frame; -- 2.39.2