cleaned up spectator mess a bit

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6781 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
sireus
2012-04-05 13:19:06 +00:00
parent 11e06bae65
commit 8f39911eb0
14 changed files with 98 additions and 80 deletions
+2 -2
View File
@@ -552,7 +552,7 @@ void flagscore(int fln)
void flagstolen(int flag, int act)
{
playerent *actor = act == getclientnum() ? player1 : getclient(act);
playerent *actor = getclient(act);
flaginfo &f = flaginfos[flag];
f.actor = actor; // could be NULL if we just connected
f.actor_cn = act;
@@ -662,4 +662,4 @@ void syncentchanges(bool force)
}
changedents.setsize(0);
lastentsync = lastmillis;
}
}