From 75f5e9756ea6f59dac820c50274a955dc69fca01 Mon Sep 17 00:00:00 2001 From: Shocker Date: Sun, 26 Sep 2010 23:46:31 +0300 Subject: Core/Commands: Allow .gobject near to print gameobject entry too --HG-- branch : trunk --- src/server/game/Chat/Commands/Level2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); -- cgit v1.2.3