aboutsummaryrefslogtreecommitdiff
path: root/src/game/Chat.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/Chat.cpp
parent56416558fadae5fa160c34280760c5c9883c68f2 (diff)
[7403] much more unneeded includes removed Author: balrok
--HG-- branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r--src/game/Chat.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp
index bd338c8eb28..5f8556fbdb0 100644
--- a/src/game/Chat.cpp
+++ b/src/game/Chat.cpp
@@ -30,7 +30,6 @@
#include "Player.h"
#include "UpdateMask.h"
#include "Chat.h"
-#include "MapManager.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
#include "AccountMgr.h"
@@ -1354,7 +1353,7 @@ GameObject* ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(uint32 lowguid
TypeContainerVisitor<Trinity::GameObjectSearcher<Trinity::GameObjectWithDbGUIDCheck>, GridTypeMapContainer > object_checker(checker);
CellLock<GridReadGuard> cell_lock(cell, p);
- cell_lock->Visit(cell_lock, object_checker, *MapManager::Instance().GetMap(pl->GetMapId(), pl));
+ cell_lock->Visit(cell_lock, object_checker, *pl->GetMap());
}
return obj;