From: Mario Date: Wed, 6 May 2015 06:13:23 +0000 (+1000) Subject: Fix TimePath's greatest blunder X-Git-Tag: xonotic-v0.8.1~38^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e728fc245c92d692c4e51936ad42bc8a1d4eeb6c;p=xonotic%2Fxonotic-data.pk3dir.git Fix TimePath's greatest blunder --- diff --git a/qcsrc/common/physics.qc b/qcsrc/common/physics.qc index 0e14da749..6b7a2224b 100644 --- a/qcsrc/common/physics.qc +++ b/qcsrc/common/physics.qc @@ -1582,7 +1582,7 @@ void PM_Main() self.movement = PHYS_INPUT_MOVEVALUES(self); vector oldv_angle = self.v_angle; - vector oldangles = self.angles; // we need to save these as they're abused by other code + vector oldangles = self.angles; // we need to save these, as they're abused by other code self.v_angle = PHYS_INPUT_ANGLES(self); self.angles = PHYS_WORLD_ANGLES(self); diff --git a/qcsrc/common/physics.qh b/qcsrc/common/physics.qh index 24528caa4..c704bc917 100644 --- a/qcsrc/common/physics.qh +++ b/qcsrc/common/physics.qh @@ -67,7 +67,7 @@ bool IsFlying(entity a); #define PHYS_INPUT_BUTTON_FORWARD(s) !!(input_buttons & 256) #define PHYS_INPUT_BUTTON_LEFT(s) !!(input_buttons & 512) #define PHYS_INPUT_BUTTON_RIGHT(s) !!(input_buttons & 1024) - #define PHYS_INPUT_BUTTON_JETPACK(s) !!(input_buttons & 2048) + #define PHYS_INPUT_BUTTON_JETPACK(s) !!(input_buttons & 4096) #define PHYS_DEAD(s) s.csqcmodel_isdead