From cb5e8084cfc840762e0e335e3cc2d195f3904e5e Mon Sep 17 00:00:00 2001 From: "Timothy C. McGrath" Date: Fri, 13 Feb 2004 10:24:30 +0000 Subject: [PATCH] Make monsters spawn half the time precisely where they died. I plan on making it eventually do more than just this for the half of the time when they respawn where they died. Hikaru --- quake/bringback.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quake/bringback.qc b/quake/bringback.qc index 29663e2..5f4e08b 100644 --- a/quake/bringback.qc +++ b/quake/bringback.qc @@ -24,7 +24,7 @@ void () im_alive = [ 0, (self.th_run), 0.2 ] self.movetype = MOVETYPE_STEP; self.takedamage = DAMAGE_AIM; - if (mapname != "end") + if ((mapname != "end") && (random() < 0.5)) self.origin = self.oldorigin; setmodel(self, self.weaponmodel);