summaryrefslogtreecommitdiff
path: root/src/network/network_chat_gui.cpp
diff options
context:
space:
mode:
authordP <dp@dpointer.org>2021-09-20 00:09:06 +0300
committerGitHub <noreply@github.com>2021-09-19 23:09:06 +0200
commit31cf9e888b1129ed8147a0ce1ee0bdbf7c121c9b (patch)
tree05a706ddc8b269445c4ea3b28959690b7774ae32 /src/network/network_chat_gui.cpp
parentd9f8ed7bdf5de55b339636f96d8958d04e6d6c6c (diff)
downloadopenttd-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.cpp2
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();