Core/Commands: Allow .gobject near to print gameobject entry too

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-09-26 23:46:31 +03:00
parent 7375951ea8
commit 75f5e9756e
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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());