[nexuiz-commits] r6450 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Apr 6 21:08:22 EDT 2009
Author: mand1nga
Date: 2009-04-06 21:08:20 -0400 (Mon, 06 Apr 2009)
New Revision: 6450
Modified:
trunk/data/qcsrc/server/havocbot.qc
Log:
Don't jump if g_midair is set (mid air mutator)
Modified: trunk/data/qcsrc/server/havocbot.qc
===================================================================
--- trunk/data/qcsrc/server/havocbot.qc 2009-04-06 14:25:05 UTC (rev 6449)
+++ trunk/data/qcsrc/server/havocbot.qc 2009-04-07 01:08:20 UTC (rev 6450)
@@ -147,6 +147,9 @@
local vector deviation;
local float maxspeed;
+ if(cvar("g_midair"))
+ return;
+
if(self.goalcurrent.classname == "player")
return;
@@ -381,7 +384,7 @@
self.BUTTON_HOOK = TRUE;
// If there is no goal try to move forward
-
+
if(self.goalcurrent==world)
dir = v_forward;
else
More information about the nexuiz-commits
mailing list