fixed server crash condition

This commit is contained in:
Max-Wilhelm Bruker 2012-03-31 18:07:31 +02:00
parent c12d7a08c2
commit b289ab0d9f
3 changed files with 11 additions and 5 deletions

View file

@ -82,7 +82,7 @@ public:
bool containsUser(const QString &userName) const;
Server_Player *addPlayer(Server_ProtocolHandler *handler, bool spectator, bool broadcastUpdate = true);
void removePlayer(Server_Player *player);
void removeArrowsToPlayer(Server_Player *player);
void removeArrowsRelatedToPlayer(Server_Player *player);
bool kickPlayer(int playerId);
void startGameIfReady();
void stopGameIfFinished();