From d1ade6f6b8db7d9f871e4d3885d7b83cb9597331 Mon Sep 17 00:00:00 2001 From: click Date: Mon, 22 Nov 2010 16:07:32 +0100 Subject: Revert r5dcfc475b8 (we're still investigating why it does what it does though) --HG-- branch : trunk --- src/server/scripts/Commands/cs_gobject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Commands/cs_gobject.cpp b/src/server/scripts/Commands/cs_gobject.cpp index 36e5cf84929..b5c5ff0c1a3 100644 --- a/src/server/scripts/Commands/cs_gobject.cpp +++ b/src/server/scripts/Commands/cs_gobject.cpp @@ -555,14 +555,14 @@ public: float x = fields[2].GetFloat(); float y = fields[3].GetFloat(); float z = fields[4].GetFloat(); - int mapid = fields[5].GetUInt16(); + uint16 mapid = fields[5].GetUInt16(); GameObjectInfo const * gInfo = sObjectMgr.GetGameObjectInfo(entry); if (!gInfo) continue; - handler->PSendSysMessage(LANG_GO_LIST_CHAT, guid, entry, gInfo->name, x, y, z, mapid); + handler->PSendSysMessage(LANG_GO_LIST_CHAT, guid, entry, guid, gInfo->name, x, y, z, mapid); ++count; } while (result->NextRow()); -- cgit v1.2.3