diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-16 16:15:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-16 16:15:34 +0300 |
commit | fe6a120ea38daaad39f6952a886c20269cfedca6 (patch) | |
tree | 4595d63a2ab9764873657182fbf2ab2b985474bf /src/game.cpp | |
parent | 6279b10249efa59b3161b014899465fe4bb08da4 (diff) | |
download | mv-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.gz mv-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.bz2 mv-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.xz mv-fe6a120ea38daaad39f6952a886c20269cfedca6.zip |
Move chatmsgtype into separate file.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; |