summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:20:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commit576b7dca4676ba2c1ea63afb6bbc96fd11183048 (patch)
tree5eef4087911e0e74ebcfb4d2026b811f0256cc71 /src/game.cpp
parentc97f245c597ebe8f488e72c435960dbee9bf66c6 (diff)
downloadplus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.gz
plus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.bz2
plus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.xz
plus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.zip
improve dirs usage in Client.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 884034179..379bb42f6 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -500,7 +500,7 @@ bool Game::createScreenshot()
bool Game::saveScreenshot(SDL_Surface *const screenshot)
{
- std::string screenshotDirectory = Client::getScreenshotDirectory();
+ std::string screenshotDirectory = client->getScreenshotDirectory();
if (mkdir_r(screenshotDirectory.c_str()) != 0)
{