diff options
Diffstat (limited to 'src/game-server/mapcomposite.cpp')
-rw-r--r-- | src/game-server/mapcomposite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/mapcomposite.cpp b/src/game-server/mapcomposite.cpp index 56c983f3..d3475f7a 100644 --- a/src/game-server/mapcomposite.cpp +++ b/src/game-server/mapcomposite.cpp @@ -551,8 +551,8 @@ void MapComposite::setMap(Map *m) mContent = new MapContent(m); std::string sPvP = m->getProperty("pvp"); - if (sPvP == "") - sPvP = Configuration::getValue("game_defaultPvp", ""); + if (sPvP.empty()) + sPvP = Configuration::getValue("game_defaultPvp", std::string()); if (sPvP == "free") mPvPRules = PVP_FREE; |