r3750 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jul 1 07:53:56 EDT 2008


Author: div0
Date: 2008-07-01 07:53:47 -0400 (Tue, 01 Jul 2008)
New Revision: 3750

Modified:
   trunk/data/qcsrc/server/t_plats.qc
Log:
change the crusher spawnflag of func_door from 4 to 8 as 4 is already don't link


Modified: trunk/data/qcsrc/server/t_plats.qc
===================================================================
--- trunk/data/qcsrc/server/t_plats.qc	2008-07-01 11:51:56 UTC (rev 3749)
+++ trunk/data/qcsrc/server/t_plats.qc	2008-07-01 11:53:47 UTC (rev 3750)
@@ -711,7 +711,7 @@
 void door_blocked()
 {
 
-    if((self.spawnflags & 4) && (other.takedamage != DAMAGE_NO)) { // KIll Kill Kill!!
+    if((self.spawnflags & 8) && (other.takedamage != DAMAGE_NO)) { // KIll Kill Kill!!
         Damage (other, self, self, 10000, DEATH_HURTTRIGGER, other.origin, '0 0 0');
     } else {
 
@@ -1099,7 +1099,7 @@
         self.dmg = 0;
     }
 
-    if(self.spawnflags & 4)
+    if(self.spawnflags & 8)
         self.dmg = 10000;
 
     if(self.dmg & (!self.message))




More information about the nexuiz-commits mailing list