summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-28 20:31:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-28 20:31:09 +0300
commitbb87f2911b63eaf80e49d689bf52ecf2042ae098 (patch)
tree0778087134ec3c5a2370d417bcadb64a1dc6a9bc /src/game.cpp
parent4415cb66734e67dfcdf8924d354107d27fb70fee (diff)
downloadmanaplus-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.gz
manaplus-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.bz2
manaplus-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.xz
manaplus-bb87f2911b63eaf80e49d689bf52ecf2042ae098.zip
Move from resourcemanager functions related to files into other files.
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 20fc2d090..67b887022 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1030,7 +1030,7 @@ void Game::changeMap(const std::string &mapPath)
std::string realFullMap = paths.getValue("maps", "maps/").append(
MapDB::getMapName(mMapName)).append(".tmx");
- if (!resman->exists(realFullMap))
+ if (!PhysFs::exists(realFullMap.c_str()))
realFullMap.append(".gz");
// Attempt to load the new map