From f314ffbdfa421cc6016dcb73650382823de8f82c Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 7 Jan 2006 17:40:17 +0000 Subject: [PATCH] Fixed my earlier bug with restarting the map instead of being dead. Fixed the spawnparm bug where you got your friend's stuff on the new level. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1814 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- quakec/fallout2/client.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quakec/fallout2/client.qc b/quakec/fallout2/client.qc index 93ed82b41..35b089d11 100644 --- a/quakec/fallout2/client.qc +++ b/quakec/fallout2/client.qc @@ -127,6 +127,8 @@ void() SetNewParms = void() DecodeLevelParms = { + setspawnparms(self); + // self.slot1 = parm1; // self.slot2 = parm2; // self.armor = parm3; @@ -819,7 +821,7 @@ void () LocateSpectatorTarget = } while (de) { - if (de.classname == "player" && de.ghost == 0 && ke.health > 0) + if (de.classname == "player" && de.ghost == 0 && de.health > 0) { if (player == self.ghostcnt) {