From fe6a120ea38daaad39f6952a886c20269cfedca6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 16:15:34 +0300 Subject: Move chatmsgtype into separate file. --- src/game.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 241f15a6a..6b265424a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -579,7 +579,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot) // TRANSLATORS: save file message std::string str = strprintf(_("Screenshot saved as %s"), fileNameStr.c_str()); - localChatTab->chatLog(str, BY_SERVER); + localChatTab->chatLog(str, ChatMsgType::BY_SERVER); } } else @@ -588,7 +588,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot) { // TRANSLATORS: save file message localChatTab->chatLog(_("Saving screenshot failed!"), - BY_SERVER); + ChatMsgType::BY_SERVER); } logger->log1("Error: could not save screenshot."); } @@ -759,7 +759,7 @@ void Game::adjustPerfomance() if (localChatTab) { localChatTab->chatLog("Auto disable Show " - "beings transparency", BY_SERVER); + "beings transparency", ChatMsgType::BY_SERVER); } } else @@ -776,7 +776,7 @@ void Game::adjustPerfomance() if (localChatTab) { localChatTab->chatLog("Auto lower Particle " - "effects", BY_SERVER); + "effects", ChatMsgType::BY_SERVER); } } else @@ -793,7 +793,7 @@ void Game::adjustPerfomance() if (localChatTab) { localChatTab->chatLog("Auto enable opacity cache", - BY_SERVER); + ChatMsgType::BY_SERVER); } } break; -- cgit v1.2.3-70-g09d2