aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShocker <none@none>2010-09-26 23:46:31 +0300
committerShocker <none@none>2010-09-26 23:46:31 +0300
commit75f5e9756ea6f59dac820c50274a955dc69fca01 (patch)
tree450de6c0c09c2c632995d09b7010b57cfd729b9b /src
parent7375951ea831b1f06cd087f65bd9d8ee14a34852 (diff)
Core/Commands: Allow .gobject near to print gameobject entry too
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Chat/Commands/Level2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/Commands/Level2.cpp b/src/server/game/Chat/Commands/Level2.cpp
index 1916b77bb88..a8be083982e 100644
--- a/src/server/game/Chat/Commands/Level2.cpp
+++ b/src/server/game/Chat/Commands/Level2.cpp
@@ -814,7 +814,7 @@ bool ChatHandler::HandleGameObjectNearCommand(const char* args)
if (!gInfo)
continue;
- PSendSysMessage(LANG_GO_LIST_CHAT, guid, guid, gInfo->name, x, y, z, mapid);
+ PSendSysMessage(LANG_GO_LIST_CHAT, guid, entry, guid, gInfo->name, x, y, z, mapid);
++count;
} while (result->NextRow());