Fix state of player1 during watching a demo with arena mode

That fixes switching to edit mode during demo watching.
Also some minor fix added.
This commit is contained in:
aurhat
2016-01-17 22:18:59 +01:00
parent e4d5c2d361
commit 730b0ed7ee
+1 -1
View File
@@ -532,7 +532,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p, bool demo = false)
int downloadable = getint(p);
int revision = getint(p);
localwrongmap = !changemapserv(text, mode, downloadable, revision);
if(m_arena && joining>2) deathstate(player1);
if(m_arena && joining > 1 && !watchingdemo) deathstate(player1);
break;
}