aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r--src/game/TemporarySummon.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp
index f8daff972d8..bd655ef144f 100644
--- a/src/game/TemporarySummon.cpp
+++ b/src/game/TemporarySummon.cpp
@@ -19,8 +19,6 @@
*/
#include "TemporarySummon.h"
-#include "WorldPacket.h"
-#include "MapManager.h"
#include "Log.h"
#include "ObjectAccessor.h"
#include "CreatureAI.h"
@@ -165,7 +163,7 @@ void TemporarySummon::Summon(TempSummonType type, uint32 lifetime)
m_timer = lifetime;
m_lifetime = lifetime;
- MapManager::Instance().GetMap(GetMapId(), this)->Add((Creature*)this);
+ GetMap()->Add((Creature*)this);
AIM_Initialize();
}