revert bogus and really fix stuck-in-editmode bug

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5741 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-10-10 13:34:58 +00:00
parent 0c0ffc79be
commit af5902b370
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ void spawnplayer(playerent *d)
{
d->respawn();
d->spawnstate(gamemode);
d->state = CS_ALIVE;//TESTING:avoid being stuck in editmode// (d==player1 && editmode) ? CS_EDITING : CS_ALIVE;
d->state = (d==player1 && editmode) ? CS_EDITING : CS_ALIVE;
findplayerstart(d);
}