mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
fix: use uint64_t for chat tab typeMask to avoid UB for ChatType values >= 32, add missing boss/party chat types to Combat tab
This commit is contained in:
parent
eaf60b4f79
commit
8a24638ced
2 changed files with 19 additions and 15 deletions
|
|
@ -66,7 +66,7 @@ private:
|
|||
int activeChatTab_ = 0;
|
||||
struct ChatTab {
|
||||
std::string name;
|
||||
uint32_t typeMask; // bitmask of ChatType values to show
|
||||
uint64_t typeMask; // bitmask of ChatType values to show (64-bit: types go up to 84)
|
||||
};
|
||||
std::vector<ChatTab> chatTabs_;
|
||||
void initChatTabs();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue