aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-08 13:05:56 -0600
committermegamage <none@none>2009-03-08 13:05:56 -0600
commit328345ac1ab328fb382ec40ba6f5fa95b43a72c4 (patch)
tree7df78db6c5639339cc85b38c36903931dc4730ce /src/game/TemporarySummon.cpp
parent56416558fadae5fa160c34280760c5c9883c68f2 (diff)
[7403] much more unneeded includes removed Author: balrok
--HG-- branch : trunk
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();
}