diff options
author | rubidium <rubidium@openttd.org> | 2010-12-25 19:47:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-25 19:47:15 +0000 |
commit | 2c41b8ee97f4b6211a4cb88dc4df460b615470fb (patch) | |
tree | 1c4c803f95555fa0f628e3a488bdf213f3714635 /src/network | |
parent | 13c5cd820b30cd3c5a7b1236e24a187ac835f7d5 (diff) | |
download | openttd-2c41b8ee97f4b6211a4cb88dc4df460b615470fb.tar.xz |
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
Diffstat (limited to 'src/network')
-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 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 |