Module dpmod: Change committed

havoc at icculus.org havoc at icculus.org
Sat Oct 11 01:36:01 EDT 2003


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : dpmod
Commit time: 2003-10-11 05:36:01 UTC

Log message:

kill anything stuck in solid (mainly a workaround for monsters falling out of level in deathmatch 7)

Modified files:
     qc/world.qc

------=MIME.3a68eca1c2258b2d33a561ad1f5deb95
Content-Type: text/plain; name="dpmod.20031011.053601.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20031011.053601.havoc.diff"
Content-Transfer-Encoding: 8bit

Index: dpmod/qc/world.qc
diff -u dpmod/qc/world.qc:1.4 dpmod/qc/world.qc:1.5
--- dpmod/qc/world.qc:1.4	Sat Aug  9 12:20:28 2003
+++ dpmod/qc/world.qc	Sat Oct 11 01:35:51 2003
@@ -878,6 +878,9 @@
 				else if (self.effects & EF_FLAME)
 					self.effects = self.effects - EF_FLAME;
 				*/
+				if (self.movetype == MOVETYPE_STEP || self.movetype == MOVETYPE_WALK)
+				if (pointcontents(self.origin) == CONTENT_SOLID)
+					T_Damage(self, world, world, 0, 0, " was in solid", DT_TELEFRAG, self.origin, '0 0 0', Obituary_Generic);
 			}
 			else
 				self.iscreature = FALSE;


More information about the twilight-commits mailing list