summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 33aa1ca02..ef053bd8f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -89,12 +89,11 @@
#include "utils/gettext.h"
#include "utils/mkdir.h"
+#include "utils/physfstools.h"
#include <guichan/exception.hpp>
#include <guichan/focushandler.hpp>
-#include <physfs.h>
-
#include <fstream>
#include <sstream>
#include <string>
@@ -513,7 +512,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot)
logger->log("Directory %s doesn't exist and can't be created! "
"Setting screenshot directory to home.",
screenshotDirectory.c_str());
- screenshotDirectory = std::string(PHYSFS_getUserDir());
+ screenshotDirectory = std::string(PhysFs::getUserDir());
}
do