diff options
Diffstat (limited to 'src/server/game/Maps/MapInstanced.cpp')
-rw-r--r-- | src/server/game/Maps/MapInstanced.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/game/Maps/MapInstanced.cpp b/src/server/game/Maps/MapInstanced.cpp index 89f22965d94..934a807394f 100644 --- a/src/server/game/Maps/MapInstanced.cpp +++ b/src/server/game/Maps/MapInstanced.cpp @@ -24,7 +24,6 @@ #include "Log.h" #include "MapManager.h" #include "MMapFactory.h" -#include "ObjectMgr.h" #include "Player.h" #include "ScenarioMgr.h" #include "VMapFactory.h" @@ -222,12 +221,6 @@ InstanceMap* MapInstanced::CreateInstance(uint32 InstanceId, InstanceSave* save, TC_LOG_ERROR("maps", "CreateInstance: no entry for map %d", GetId()); ABORT(); } - InstanceTemplate const* iTemplate = sObjectMgr->GetInstanceTemplate(GetId()); - if (!iTemplate) - { - TC_LOG_ERROR("maps", "CreateInstance: no instance template for map %d", GetId()); - ABORT(); - } // some instances only have one difficulty sDB2Manager.GetDownscaledMapDifficultyData(GetId(), difficulty); |