summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 20:34:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 20:59:26 +0300
commitbdec92381ef60cd027292ed63e254e8de70028d9 (patch)
treeebf2722cdc9fe7383a709ba1584432a491cf10ba /src/game.cpp
parent5283a59db971ec2038149bf26ad9b3cbc4924449 (diff)
downloadmanaverse-bdec92381ef60cd027292ed63e254e8de70028d9.tar.gz
manaverse-bdec92381ef60cd027292ed63e254e8de70028d9.tar.bz2
manaverse-bdec92381ef60cd027292ed63e254e8de70028d9.tar.xz
manaverse-bdec92381ef60cd027292ed63e254e8de70028d9.zip
In virtfs replace parameters type from char* to std::string.
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 69bf2fd9c..4d4ece3fe 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -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 (!VirtFs::exists(realFullMap.c_str()))
+ if (!VirtFs::exists(realFullMap))
realFullMap.append(".gz");
// Attempt to load the new map