[nexuiz-commits] r6831 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun May 31 13:32:09 EDT 2009
Author: mand1nga
Date: 2009-05-31 13:32:01 -0400 (Sun, 31 May 2009)
New Revision: 6831
Modified:
trunk/data/qcsrc/server/bots.qc
Log:
Reverted change commited accidentaly
Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc 2009-05-31 17:25:40 UTC (rev 6830)
+++ trunk/data/qcsrc/server/bots.qc 2009-05-31 17:32:01 UTC (rev 6831)
@@ -218,22 +218,10 @@
}
else
{
- // Check if we can jump over the obstacle
- local vector jumpheight;
- // this is an estimate, a proper calculation should involve the cvars sv_jumpvelocity and sv_gravity
- jumpheight = (PL_VIEW_OFS_z + PL_MIN_z) * '0 0 1';
- tracebox(org + jumpheight, m1, m2, move + jumpheight, movemode, e);
-
- if (trace_fraction < 1)
- {
- #ifdef DEBUG_TRACEWALK
- debugnodestatus(trace_endpos, DEBUG_NODE_FAIL);
- #endif
- return FALSE; // failed
- }
- // Here we will avoid the trace down because we jumped
- org = trace_endpos;
- continue;
+ #ifdef DEBUG_TRACEWALK
+ debugnodestatus(trace_endpos, DEBUG_NODE_FAIL);
+ #endif
+ return FALSE; // failed
}
}
else
More information about the nexuiz-commits
mailing list