summaryrefslogtreecommitdiff
path: root/src/game/Chat/Chat.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-09-18 03:16:32 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-09-18 03:16:32 +0200
commit5ec07ef31ff972dbe3c3be3fdaab4ab8aad9512c (patch)
tree6b2126773aea642162afaeaa6db99103d55184ef /src/game/Chat/Chat.cpp
parentcf627d832717c990b02da5e5ba06b4f218079321 (diff)
Removed more warnings, mostly related to unused-variable
issue #121 We still have to work on unused-parameter
Diffstat (limited to 'src/game/Chat/Chat.cpp')
-rw-r--r--src/game/Chat/Chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat/Chat.cpp b/src/game/Chat/Chat.cpp
index 7ab9baaf49..9e94ec8ee3 100644
--- a/src/game/Chat/Chat.cpp
+++ b/src/game/Chat/Chat.cpp
@@ -895,7 +895,7 @@ GameObject* ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(uint32 lowguid
CellCoord p(Trinity::ComputeCellCoord(pl->GetPositionX(), pl->GetPositionY()));
Cell cell(p);
- Trinity::GameObjectWithDbGUIDCheck go_check(*pl, lowguid);
+ Trinity::GameObjectWithDbGUIDCheck go_check(lowguid);
Trinity::GameObjectSearcher<Trinity::GameObjectWithDbGUIDCheck> checker(pl, obj, go_check);
TypeContainerVisitor<Trinity::GameObjectSearcher<Trinity::GameObjectWithDbGUIDCheck>, GridTypeMapContainer > object_checker(checker);