]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix TimePath's greatest blunder
authorMario <zacjardine@y7mail.com>
Wed, 6 May 2015 06:13:23 +0000 (16:13 +1000)
committerMario <zacjardine@y7mail.com>
Wed, 6 May 2015 06:13:23 +0000 (16:13 +1000)
qcsrc/common/physics.qc
qcsrc/common/physics.qh

index 0e14da74932bb38e1d47e0bd08895aa4994140a5..6b7a2224b0b95744722583a011a023e3afee6042 100644 (file)
@@ -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);
 
index 24528caa4f727f8278659a75d3f82a49ea17f40b..c704bc917c57fa8b0459295b7eb0909e91ccc133 100644 (file)
@@ -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