fixed server crash bug

This commit is contained in:
Max-Wilhelm Bruker 2010-01-18 13:11:18 +01:00
parent b1e8f08ebe
commit 9c4264b491
5 changed files with 7 additions and 3 deletions

View file

@ -65,7 +65,7 @@ void GameSelector::checkResponse(ResponseCode response)
switch (response) {
case RespWrongPassword: QMessageBox::critical(this, tr("Error"), tr("Wrong password.")); break;
case RespSpectatorsNotAllowed: QMessageBox::critical(this, tr("Error"), tr("Spectators are not allowed in this game.")); break;
case RespContextError: QMessageBox::critical(this, tr("Error"), tr("The game is already full.")); break;
case RespGameFull: QMessageBox::critical(this, tr("Error"), tr("The game is already full.")); break;
case RespNameNotFound: QMessageBox::critical(this, tr("Error"), tr("The game does not exist any more.")); break;
default: ;
}