diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 22:20:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | 576b7dca4676ba2c1ea63afb6bbc96fd11183048 (patch) | |
tree | 5eef4087911e0e74ebcfb4d2026b811f0256cc71 /src/game.cpp | |
parent | c97f245c597ebe8f488e72c435960dbee9bf66c6 (diff) | |
download | mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.gz mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.bz2 mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.xz mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.zip |
improve dirs usage in Client.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
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) { |