summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-10 20:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-10 20:47:24 +0300
commit6c9c56b70db43f4100863d312835fce763698008 (patch)
tree4a182019f18677c1b71202a79d8f4faceebe05c9 /src/game.cpp
parent5e7866bd7cc3bf850d9ba3e636d8eca88ac797c7 (diff)
downloadplus-6c9c56b70db43f4100863d312835fce763698008.tar.gz
plus-6c9c56b70db43f4100863d312835fce763698008.tar.bz2
plus-6c9c56b70db43f4100863d312835fce763698008.tar.xz
plus-6c9c56b70db43f4100863d312835fce763698008.zip
Rename physfstools into virtfs.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index aca47029a..69bf2fd9c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -121,7 +121,7 @@
#include "utils/delete2.h"
#include "utils/gettext.h"
#include "utils/mkdir.h"
-#include "utils/physfstools.h"
+#include "utils/virtfs.h"
#include "utils/sdlcheckutils.h"
#include "utils/timer.h"
@@ -531,7 +531,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(VirtFs::getUserDir());
}
// Search for an unused screenshot name
@@ -1055,7 +1055,7 @@ void Game::changeMap(const std::string &mapPath)
std::string realFullMap = paths.getValue("maps", "maps/").append(
MapDB::getMapName(mMapName)).append(".tmx");
- if (!PhysFs::exists(realFullMap.c_str()))
+ if (!VirtFs::exists(realFullMap.c_str()))
realFullMap.append(".gz");
// Attempt to load the new map