r2198 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Feb 21 07:56:40 EST 2007


Author: div0
Date: 2007-02-21 07:56:40 -0500 (Wed, 21 Feb 2007)
New Revision: 2198

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/t_items.qc
Log:
spawnflag == 1 now also sets noalign... for Q3A maps


Modified: branches/nexuiz-2.0/data/qcsrc/server/t_items.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/t_items.qc	2007-02-21 12:55:01 UTC (rev 2197)
+++ branches/nexuiz-2.0/data/qcsrc/server/t_items.qc	2007-02-21 12:56:40 UTC (rev 2198)
@@ -313,6 +313,8 @@
 	self.netname = itemname;
 	self.items = itemid;
 	self.flags = FL_ITEM | itemflags;
+	if(self.spawnflags & 1)
+		self.noalign = 1;
 	if (self.noalign)
 		self.movetype = MOVETYPE_NONE;
 	else




More information about the nexuiz-commits mailing list