r3332 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Feb 3 09:22:38 EST 2008


Author: div0
Date: 2008-02-03 09:22:37 -0500 (Sun, 03 Feb 2008)
New Revision: 3332

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
revert prepration for target_give, as it breaks some maps


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2008-02-03 12:34:33 UTC (rev 3331)
+++ trunk/data/qcsrc/server/t_items.qc	2008-02-03 14:22:37 UTC (rev 3332)
@@ -304,6 +304,10 @@
 			return;
 		}
 		
+		/*
+		 * can't do it that way, as it would break maps
+		 * TODO make a target_give like entity another way, that perhaps has
+		 * the weapon name in a key
 		if(self.targetname)
 		{
 			// target_give not yet supported; maybe later
@@ -312,6 +316,7 @@
 			remove (self);
 			return;
 		}
+		*/
 		
 		if(cvar("spawn_debug") >= 2)
 		{




More information about the nexuiz-commits mailing list