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

@ -144,7 +144,7 @@ void MessageLogWidget::logSay(Player *player, QString message)
void MessageLogWidget::logSpectatorSay(QString spectatorName, QString message)
{
myAppend(QString("<font color=\"red\">%1:</font> %2").arg(sanitizeHtml(spectatorName)).arg(sanitizeHtml(message)));
appendMessage(spectatorName, message, QColor(), false);
}
void MessageLogWidget::logShuffle(Player *player, CardZone *zone)

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();