aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclick <none@none>2010-11-22 16:07:32 +0100
committerclick <none@none>2010-11-22 16:07:32 +0100
commitd1ade6f6b8db7d9f871e4d3885d7b83cb9597331 (patch)
treee4bff5da1f67f723cd4a84ae4c2aa242d8981a69 /src
parentabb4f8f551907024af9f2d34e53634b8b7b8f14a (diff)
Revert r5dcfc475b8 (we're still investigating why it does what it does though)
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Commands/cs_gobject.cpp4
1 files changed, 2 insertions, 2 deletions
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());