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:
aurhat
2015-07-16 23:13:05 +02:00
parent 54c09b8c48
commit 577d6a00d2
+1
View File
@@ -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;
}