minor change

This commit is contained in:
Max-Wilhelm Bruker
2011-07-02 02:14:08 +02:00
parent 0120d2a019
commit a86f6ba5b8
2 changed files with 3 additions and 3 deletions

View File

@@ -476,8 +476,8 @@ ResponseCode Server_ProtocolHandler::cmdCreateGame(Command_CreateGame *cmd, Comm
gameTypes.append(gameTypeList[i]->getData());
QString description = cmd->getDescription();
if (description.size() > 50)
description = description.left(50);
if (description.size() > 60)
description = description.left(60);
Server_Game *game = room->createGame(description, cmd->getPassword(), cmd->getMaxPlayers(), gameTypes, cmd->getOnlyBuddies(), cmd->getOnlyRegistered(), cmd->getSpectatorsAllowed(), cmd->getSpectatorsNeedPassword(), cmd->getSpectatorsCanTalk(), cmd->getSpectatorsSeeEverything(), this);
Server_Player *creator = game->getPlayers().values().first();