r3503 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Mar 12 03:40:46 EDT 2008
Author: div0
Date: 2008-03-12 03:40:29 -0400 (Wed, 12 Mar 2008)
New Revision: 3503
Modified:
trunk/data/qcsrc/server/g_subs.qc
Log:
traceline_antilag ought to not antilag for bot's tracing (these simulate lag depending on skill, and lead their shots to compensate for it)
Modified: trunk/data/qcsrc/server/g_subs.qc
===================================================================
--- trunk/data/qcsrc/server/g_subs.qc 2008-03-11 20:37:16 UTC (rev 3502)
+++ trunk/data/qcsrc/server/g_subs.qc 2008-03-12 07:40:29 UTC (rev 3503)
@@ -240,6 +240,8 @@
// check whether antilagged traces are enabled
if (lag < 0.001)
lag = 0;
+ if (clienttype(forent) != CLIENTTYPE_REAL)
+ lag = 0; // only antilag for clients
if (lag)
if (cvar("g_antilag") != 2)
lag = 0;
More information about the nexuiz-commits
mailing list