From bb87f2911b63eaf80e49d689bf52ecf2042ae098 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 May 2014 20:31:09 +0300 Subject: Move from resourcemanager functions related to files into other files. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') 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 -- cgit v1.2.3-70-g09d2