mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Core: Fix compile (Thanks to Sovak for reporting). Remove many warnings and Fix possible out of bounds access to Void storage
This commit is contained in:
@@ -699,7 +699,7 @@ void ChatHandler::FillMessageData(WorldPacket* data, WorldSession* session, uint
|
||||
*data << channelName;
|
||||
*data << uint64(target_guid);
|
||||
}
|
||||
else if (type == CHAT_MSG_ADDON)
|
||||
else if (type == uint8(CHAT_MSG_ADDON))
|
||||
{
|
||||
ASSERT(addonPrefix);
|
||||
*data << addonPrefix;
|
||||
|
||||
Reference in New Issue
Block a user