Mercurial > hg > openttd
changeset 11097:75f90e06e227 draft
(svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 11 Feb 2009 01:28:10 +0000 |
parents | 144981ef1dbb |
children | 2d409b263f46 |
files | src/network/network_chat_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -96,7 +96,7 @@ /* 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 : (TextColour)(0x1D - 15) | IS_PALETTE_COLOUR; + cmsg->colour = (bufp == buf && colour & IS_PALETTE_COLOUR) ? colour : TC_WHITE; cmsg->end_date = _date + duration; bufp += strlen(bufp) + 1; // jump to 'next line' in the formatted string