diff options
author | silinoron <none@none> | 2010-08-23 19:56:47 -0700 |
---|---|---|
committer | silinoron <none@none> | 2010-08-23 19:56:47 -0700 |
commit | 8649bee17fdd477623465a0ef22abe4d80b74fc3 (patch) | |
tree | f652ac8f180d88345cfd5ecdc779b4296d154189 /src/server/game/Maps/MapInstanced.cpp | |
parent | b30800e9bcc38faf4bcbe443240a6d0797ad88e5 (diff) |
Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig.
Also fix a warning from a previous commit.
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Maps/MapInstanced.cpp')
-rw-r--r-- | src/server/game/Maps/MapInstanced.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Maps/MapInstanced.cpp b/src/server/game/Maps/MapInstanced.cpp index 47a90c67fe9..eb138e66818 100644 --- a/src/server/game/Maps/MapInstanced.cpp +++ b/src/server/game/Maps/MapInstanced.cpp @@ -234,7 +234,7 @@ bool MapInstanced::DestroyInstance(InstancedMaps::iterator &itr) itr->second->UnloadAll(); // should only unload VMaps if this is the last instance and grid unloading is enabled - if (m_InstancedMaps.size() <= 1 && sWorld.getConfig(CONFIG_GRID_UNLOAD)) + if (m_InstancedMaps.size() <= 1 && sWorld.getBoolConfig(CONFIG_GRID_UNLOAD)) { VMAP::VMapFactory::createOrGetVMapManager()->unloadMap(itr->second->GetId()); // in that case, unload grids of the base map, too |