aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/Commands
diff options
context:
space:
mode:
authorleak <leakzx@googlemail.com>2011-04-28 23:38:16 +0200
committerleak <leakzx@googlemail.com>2011-04-28 23:38:16 +0200
commite58f47664f9be2fd0047c6d85b2f9876f38f0e75 (patch)
tree1f7c90219ac3408104c8b44b96eea0fa49039d7b /src/server/game/Chat/Commands
parent6d1924cee8e9e906ec03d4e2ff64175ea9d44ce4 (diff)
Restore gcc build
Diffstat (limited to 'src/server/game/Chat/Commands')
-rwxr-xr-xsrc/server/game/Chat/Commands/Level3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/Commands/Level3.cpp b/src/server/game/Chat/Commands/Level3.cpp
index 8247f1b7fed..2b6f960597c 100755
--- a/src/server/game/Chat/Commands/Level3.cpp
+++ b/src/server/game/Chat/Commands/Level3.cpp
@@ -727,9 +727,9 @@ bool ChatHandler::HandleListCreatureCommand(const char *args)
int mapid = fields[4].GetUInt16();
if (m_session)
- PSendSysMessage(LANG_CREATURE_LIST_CHAT, guid, guid, cInfo->Name, x, y, z, mapid);
+ PSendSysMessage(LANG_CREATURE_LIST_CHAT, guid, guid, cInfo->Name.c_str(), x, y, z, mapid);
else
- PSendSysMessage(LANG_CREATURE_LIST_CONSOLE, guid, cInfo->Name, x, y, z, mapid);
+ PSendSysMessage(LANG_CREATURE_LIST_CONSOLE, guid, cInfo->Name.c_str(), x, y, z, mapid);
} while (result->NextRow());
}