summaryrefslogtreecommitdiff
path: root/src/network/network_chat_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-25 19:47:15 +0000
committerrubidium <rubidium@openttd.org>2010-12-25 19:47:15 +0000
commit2c41b8ee97f4b6211a4cb88dc4df460b615470fb (patch)
tree1c4c803f95555fa0f628e3a488bdf213f3714635 /src/network/network_chat_gui.cpp
parent13c5cd820b30cd3c5a7b1236e24a187ac835f7d5 (diff)
downloadopenttd-2c41b8ee97f4b6211a4cb88dc4df460b615470fb.tar.xz
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
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 28a3afc99..dc6b4005f 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -103,7 +103,7 @@ void CDECL NetworkAddChatMessage(TextColour colour, uint duration, const char *m
/* The default colour for a message is company colour. Replace this with
* white for any additional lines */
- cmsg->colour = (bufp == buf && (colour & IS_PALETTE_COLOUR)) ? colour : TC_WHITE;
+ cmsg->colour = (bufp == buf && (colour & TC_IS_PALETTE_COLOUR)) ? colour : TC_WHITE;
cmsg->remove_time = _realtime_tick + duration * 1000;
bufp += strlen(bufp) + 1; // jump to 'next line' in the formatted string