diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-28 20:31:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-28 20:31:09 +0300 |
commit | bb87f2911b63eaf80e49d689bf52ecf2042ae098 (patch) | |
tree | 0778087134ec3c5a2370d417bcadb64a1dc6a9bc /src/game.cpp | |
parent | 4415cb66734e67dfcdf8924d354107d27fb70fee (diff) | |
download | ManaVerse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.gz ManaVerse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.bz2 ManaVerse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.xz ManaVerse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.zip |
Move from resourcemanager functions related to files into other files.
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 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 |