what was I thinking... making previous commit compile
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 30 Jan 2010 18:12:02 +0000 (18:12 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 30 Jan 2010 18:12:02 +0000 (18:12 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8596 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/cl_physics.qc

index 533a26e..0d81e3e 100644 (file)
@@ -412,7 +412,7 @@ void CPM_PM_Aircontrol(vector wishdir, float wishspeed)
                return;
 #endif
 
-       k *= bound(0, wishspeed / maxairspd, 1);
+       k *= bound(0, wishspeed / sv_maxairspeed, 1);
 
        zspeed = self.velocity_z;
        self.velocity_z = 0;