[nexuiz-commits] r7471 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Aug 19 12:14:47 EDT 2009


Author: tzork
Date: 2009-08-19 12:14:46 -0400 (Wed, 19 Aug 2009)
New Revision: 7471

Modified:
   trunk/data/qcsrc/server/w_common.qc
Log:
Fix constant flyby sound for nex when spectating nex/minsta user.

Modified: trunk/data/qcsrc/server/w_common.qc
===================================================================
--- trunk/data/qcsrc/server/w_common.qc	2009-08-19 14:25:05 UTC (rev 7470)
+++ trunk/data/qcsrc/server/w_common.qc	2009-08-19 16:14:46 UTC (rev 7471)
@@ -88,8 +88,9 @@
         {
             if(clienttype(ent) == CLIENTTYPE_REAL)
 
-            if(ent != self)
-                ent.ticrate = 1;
+            if(ent.health != -666)
+                if(ent != self)
+                    ent.ticrate = 1;
 
             ent = ent.chain;
         }



More information about the nexuiz-commits mailing list