mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
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:
parent
cbfbc542e7
commit
ad40194f25
3 changed files with 19 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue