mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
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:
parent
a078f6fc97
commit
f314ffbdfa
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue