diff options
author | dP <dp@dpointer.org> | 2021-09-20 00:09:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-19 23:09:06 +0200 |
commit | 31cf9e888b1129ed8147a0ce1ee0bdbf7c121c9b (patch) | |
tree | 05a706ddc8b269445c4ea3b28959690b7774ae32 /src/network/network_chat_gui.cpp | |
parent | d9f8ed7bdf5de55b339636f96d8958d04e6d6c6c (diff) | |
download | openttd-31cf9e888b1129ed8147a0ce1ee0bdbf7c121c9b.tar.xz |
Add: [Network] external chat messages for remote admins (#9563)
Diffstat (limited to 'src/network/network_chat_gui.cpp')
-rw-r--r-- | src/network/network_chat_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index b42f0c562..8645c11da 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -95,7 +95,7 @@ void CDECL NetworkAddChatMessage(TextColour colour, uint duration, const std::st ChatMessage *cmsg = &_chatmsg_list.emplace_front(); cmsg->message = message; - cmsg->colour = (colour & TC_IS_PALETTE_COLOUR) ? colour : TC_WHITE; + cmsg->colour = colour; cmsg->remove_time = std::chrono::steady_clock::now() + std::chrono::seconds(duration); _chatmessage_dirty_time = std::chrono::steady_clock::now(); |