Fix arenaintermission reset
Arenaintermission was reset only after own spawn, now it will be reset also during being in team spectator (in multiplayer or demo mode).
This commit is contained in:
@@ -649,6 +649,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p, bool demo = false)
|
||||
loopi(NUMGUNS) s->ammo[i] = getint(p);
|
||||
loopi(NUMGUNS) s->mag[i] = getint(p);
|
||||
s->state = CS_SPAWNING;
|
||||
arenaintermission = 0;
|
||||
if(s->lifesequence==0) s->resetstats(); //NEW
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user