From: Mario Date: Mon, 17 Apr 2017 02:21:41 +0000 (+1000) Subject: Make sure raptor can't give fall damage when exiting during launch sequence X-Git-Tag: xonotic-v0.8.5~2833 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2d71df9b77854039bc026f46553076ec5467b065;p=xonotic%2Fxonotic-data.pk3dir.git Make sure raptor can't give fall damage when exiting during launch sequence --- 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;