From cdd54a89c188ace82f3b93787e21f1b752fdd8af Mon Sep 17 00:00:00 2001 From: "Timothy C. McGrath" Date: Sat, 14 Feb 2004 13:29:24 +0000 Subject: [PATCH] Monsters that get stuck in floors/cielings/objects after a respawn will now instagib. The way I'm doing it is buggy according to Grievre, but on the other hand, I haven't seen any strangeness while playing. Hikaru --- quake/bringback.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quake/bringback.qc b/quake/bringback.qc index 2537a92..6dcd314 100644 --- a/quake/bringback.qc +++ b/quake/bringback.qc @@ -59,6 +59,10 @@ //Flyer/Fish setorigin (self, self.origin); } + if (!walkmove(0,0)) { + //Die if we get stuck in a wall/object + T_Damage (self, self, self, 50000); + } } };