r5697 - trunk/data/qcsrc/server/tturrets/system

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jan 29 07:48:26 EST 2009


Author: div0
Date: 2009-01-29 07:48:25 -0500 (Thu, 29 Jan 2009)
New Revision: 5697

Modified:
   trunk/data/qcsrc/server/tturrets/system/system_main.qc
Log:
fix a typo in turret code


Modified: trunk/data/qcsrc/server/tturrets/system/system_main.qc
===================================================================
--- trunk/data/qcsrc/server/tturrets/system/system_main.qc	2009-01-29 12:39:37 UTC (rev 5696)
+++ trunk/data/qcsrc/server/tturrets/system/system_main.qc	2009-01-29 12:48:25 UTC (rev 5697)
@@ -508,7 +508,7 @@
 
     m_score = 0;
     if(self.enemy)
-    if(turret_validate_target(self,e,self.target_select_flags) > 0)
+    if(turret_validate_target(self,self.enemy,self.target_select_flags) > 0)
     {
         e_enemy = self.enemy;
         m_score = self.turret_score_target(self,e_enemy) * self.target_select_samebias;




More information about the nexuiz-commits mailing list