r2197 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Feb 21 07:55:01 EST 2007
Author: div0
Date: 2007-02-21 07:55:01 -0500 (Wed, 21 Feb 2007)
New Revision: 2197
Modified:
trunk/data/qcsrc/server/t_items.qc
Log:
items with spawnflag 1 also don't autodrop
Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc 2007-02-21 03:20:57 UTC (rev 2196)
+++ trunk/data/qcsrc/server/t_items.qc 2007-02-21 12:55:01 UTC (rev 2197)
@@ -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