aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectGridLoader.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/ObjectGridLoader.cpp
parent56416558fadae5fa160c34280760c5c9883c68f2 (diff)
[7403] much more unneeded includes removed Author: balrok
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectGridLoader.cpp')
-rw-r--r--src/game/ObjectGridLoader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/ObjectGridLoader.cpp b/src/game/ObjectGridLoader.cpp
index 38083d02306..fbc422f9735 100644
--- a/src/game/ObjectGridLoader.cpp
+++ b/src/game/ObjectGridLoader.cpp
@@ -21,7 +21,6 @@
#include "ObjectGridLoader.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
-#include "MapManager.h"
#include "Creature.h"
#include "GameObject.h"
#include "DynamicObject.h"
@@ -70,7 +69,7 @@ ObjectGridRespawnMover::Visit(CreatureMapType &m)
if(cur_cell.DiffGrid(resp_cell))
{
- MapManager::Instance().GetMap(c->GetMapId(), c)->CreatureRespawnRelocation(c);
+ c->GetMap()->CreatureRespawnRelocation(c);
// false result ignored: will be unload with other creatures at grid
}
}