diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-16 15:41:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-16 15:41:51 +0300 |
commit | 1b75e974088a94cd28d7a48729545904b2cd908b (patch) | |
tree | d771752fd0da4c58c8ff2d941c47274ead984e42 /src/game.cpp | |
parent | 46087564d4184b28740b0c45c1bac199ab1942ec (diff) | |
download | plus-1b75e974088a94cd28d7a48729545904b2cd908b.tar.gz plus-1b75e974088a94cd28d7a48729545904b2cd908b.tar.bz2 plus-1b75e974088a94cd28d7a48729545904b2cd908b.tar.xz plus-1b75e974088a94cd28d7a48729545904b2cd908b.zip |
Remove some useless static methods from theme.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index e30b7222e..c1e2a757d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -484,8 +484,8 @@ void Game::addWatermark() { if (!boldFont || !config.getBoolValue("addwatermark")) return; - mainGraphics->setColorAll(Theme::getThemeColor(Theme::TEXT), - Theme::getThemeColor(Theme::TEXT_OUTLINE)); + mainGraphics->setColorAll(theme->getColor(Theme::TEXT, 255), + theme->getColor(Theme::TEXT_OUTLINE, 255)); boldFont->drawString(mainGraphics, client->getServerName(), 100, 50); } |