r3250 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jan 23 15:43:07 EST 2008
Author: div0
Date: 2008-01-23 15:43:07 -0500 (Wed, 23 Jan 2008)
New Revision: 3250
Modified:
trunk/data/qcsrc/server/cl_weaponsystem.qc
Log:
check for "player", as antilag relies on takeback now
Modified: trunk/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weaponsystem.qc 2008-01-23 20:40:51 UTC (rev 3249)
+++ trunk/data/qcsrc/server/cl_weaponsystem.qc 2008-01-23 20:43:07 UTC (rev 3250)
@@ -53,6 +53,7 @@
if (self.cursor_trace_ent) // client was aiming at someone
if (self.cursor_trace_ent != self) // just to make sure
if (self.cursor_trace_ent.takedamage) // and that person is killable
+ if (self.cursor_trace_ent.classname == "player") // and actually a player
if (cvar("g_antilag"))
{
// verify that the shot would miss without antilag
More information about the nexuiz-commits
mailing list