[nexuiz-commits] r6715 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue May 12 07:23:31 EDT 2009
Author: div0
Date: 2009-05-12 07:23:31 -0400 (Tue, 12 May 2009)
New Revision: 6715
Modified:
trunk/data/qcsrc/client/teamradar.qc
Log:
fix team radar pings
Modified: trunk/data/qcsrc/client/teamradar.qc
===================================================================
--- trunk/data/qcsrc/client/teamradar.qc 2009-05-12 11:14:58 UTC (rev 6714)
+++ trunk/data/qcsrc/client/teamradar.qc 2009-05-12 11:23:31 UTC (rev 6715)
@@ -144,7 +144,7 @@
if(dt == 0)
continue;
dt = time - dt;
- if(dt > 1)
+ if(dt >= 1 || dt <= 0)
continue;
v = '2 2 0' * teamradar_size * dt;
drawpic(coord - 0.5 * v, "gfx/teamradar_ping", v, '1 1 1', 1 - dt, DRAWFLAG_ADDITIVE);
More information about the nexuiz-commits
mailing list