nextTurn cleanup -> fixed the bug that the game would begin with active player 0 even if there is no player 0

This commit is contained in:
Max-Wilhelm Bruker 2010-08-11 01:17:45 +02:00
parent cbfbc542e7
commit ad40194f25
3 changed files with 19 additions and 13 deletions

View file

@ -76,6 +76,7 @@ public:
int getActivePhase() const { return activePhase; }
void setActivePlayer(int _activePlayer);
void setActivePhase(int _activePhase);
void nextTurn();
QList<ServerInfo_Player *> getGameState(Server_Player *playerWhosAsking) const;
void sendGameEvent(GameEvent *event, GameEventContext *context = 0, Server_Player *exclude = 0);