diff options
Diffstat (limited to 'NorthstarDLL/server/serverchathooks.h')
-rw-r--r-- | NorthstarDLL/server/serverchathooks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/server/serverchathooks.h b/NorthstarDLL/server/serverchathooks.h index 8fda3cec..d033e769 100644 --- a/NorthstarDLL/server/serverchathooks.h +++ b/NorthstarDLL/server/serverchathooks.h @@ -9,7 +9,7 @@ enum class CustomMessageType : char }; constexpr unsigned char CUSTOM_MESSAGE_INDEX_BIT = 0b10000000; -constexpr unsigned char CUSTOM_MESSAGE_INDEX_MASK = ~CUSTOM_MESSAGE_INDEX_BIT; +constexpr unsigned char CUSTOM_MESSAGE_INDEX_MASK = (unsigned char)~CUSTOM_MESSAGE_INDEX_BIT; // Send a vanilla chat message as if it was from the player. void ChatSendMessage(unsigned int playerIndex, const char* text, bool isteam); |