]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix crazy walk speed
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 10 Dec 2014 11:43:05 +0000 (22:43 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Wed, 10 Dec 2014 11:43:05 +0000 (22:43 +1100)
qcsrc/common/physics.qc

index 1ac5c7fea65bd0db2690132757d9eeec4f55c3ae..f288080cecf027612c27ed34707509975fd9c264 100644 (file)
@@ -335,6 +335,7 @@ void PM_ClientMovement_UpdateStatus()
 
 void PM_ClientMovement_Move()
 {
+#ifdef CSQC
        float t = PHYS_INPUT_TIMELENGTH;
        vector primalvelocity = self.velocity;
        PM_ClientMovement_UpdateStatus();
@@ -403,6 +404,7 @@ void PM_ClientMovement_Move()
        }
        if (pmove_waterjumptime > 0)
                self.velocity = primalvelocity;
+#endif
 }
 
 void CPM_PM_Aircontrol(vector wishdir, float wishspeed)