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
This commit is contained in:
Spoike 2006-01-07 17:40:17 +00:00
parent a078f6fc97
commit f314ffbdfa

View file

@ -127,6 +127,8 @@ void() SetNewParms =
void() DecodeLevelParms = void() DecodeLevelParms =
{ {
setspawnparms(self);
// self.slot1 = parm1; // self.slot1 = parm1;
// self.slot2 = parm2; // self.slot2 = parm2;
// self.armor = parm3; // self.armor = parm3;
@ -819,7 +821,7 @@ void () LocateSpectatorTarget =
} }
while (de) 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) if (player == self.ghostcnt)
{ {