Restore gcc build
This commit is contained in:
@@ -727,9 +727,9 @@ bool ChatHandler::HandleListCreatureCommand(const char *args)
|
|||||||
int mapid = fields[4].GetUInt16();
|
int mapid = fields[4].GetUInt16();
|
||||||
|
|
||||||
if (m_session)
|
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
|
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());
|
} while (result->NextRow());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ void WorldSession::HandleCreatureQueryOpcode(WorldPacket & recv_data)
|
|||||||
sObjectMgr->GetLocaleString(cl->SubName, loc_idx, SubName);
|
sObjectMgr->GetLocaleString(cl->SubName, loc_idx, SubName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sLog->outDetail("WORLD: CMSG_CREATURE_QUERY '%s' - Entry: %u.", ci->Name, entry);
|
sLog->outDetail("WORLD: CMSG_CREATURE_QUERY '%s' - Entry: %u.", ci->Name.c_str(), entry);
|
||||||
// guess size
|
// guess size
|
||||||
WorldPacket data(SMSG_CREATURE_QUERY_RESPONSE, 100);
|
WorldPacket data(SMSG_CREATURE_QUERY_RESPONSE, 100);
|
||||||
data << uint32(entry); // creature entry
|
data << uint32(entry); // creature entry
|
||||||
|
|||||||
Reference in New Issue
Block a user