diff options
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r-- | src/game/Chat.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 3cc868a2b3e..f5e85b467b3 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -2086,8 +2086,7 @@ GameObject* ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(uint32 lowguid Trinity::GameObjectSearcher<Trinity::GameObjectWithDbGUIDCheck> checker(pl,obj,go_check); TypeContainerVisitor<Trinity::GameObjectSearcher<Trinity::GameObjectWithDbGUIDCheck>, GridTypeMapContainer > object_checker(checker); - CellLock<GridReadGuard> cell_lock(cell, p); - cell_lock->Visit(cell_lock, object_checker, *pl->GetMap()); + cell.Visit(p, object_checker, *pl->GetMap()); } return obj; |