server crash fix

This commit is contained in:
Max-Wilhelm Bruker 2011-03-11 15:35:31 +01:00
parent 712aa9768f
commit 29c4c80ddf
3 changed files with 20 additions and 14 deletions

View file

@ -75,6 +75,7 @@ public:
ResponseCode checkJoin(ServerInfo_User *user, const QString &_password, bool spectator);
Server_Player *addPlayer(Server_ProtocolHandler *handler, bool spectator, bool broadcastUpdate = true);
void removePlayer(Server_Player *player);
void removeArrowsToPlayer(Server_Player *player);
bool kickPlayer(int playerId);
void startGameIfReady();
void stopGameIfFinished();