From e58f47664f9be2fd0047c6d85b2f9876f38f0e75 Mon Sep 17 00:00:00 2001 From: leak Date: Thu, 28 Apr 2011 23:38:16 +0200 Subject: Restore gcc build --- src/server/game/Chat/Commands/Level3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/game/Chat/Commands') 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()); } -- cgit v1.2.3