From 2c41b8ee97f4b6211a4cb88dc4df460b615470fb Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 25 Dec 2010 19:47:15 +0000 Subject: (svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour --- src/viewport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/viewport.cpp') diff --git a/src/viewport.cpp b/src/viewport.cpp index ef78356c4..3fcc45125 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1407,9 +1407,9 @@ static void ViewportDrawStrings(DrawPixelInfo *dpi, const StringSpriteToDrawVect /* if we didn't draw a rectangle, or if transparant building is on, * draw the text in the colour the rectangle would have */ if (IsTransparencySet(TO_SIGNS) && ss->string != STR_WHITE_SIGN) { - /* Real colours need the IS_PALETTE_COLOUR flag + /* Real colours need the TC_IS_PALETTE_COLOUR flag * otherwise colours from _string_colourmap are assumed. */ - colour = (TextColour)_colour_gradient[ss->colour][6] | IS_PALETTE_COLOUR; + colour = (TextColour)_colour_gradient[ss->colour][6] | TC_IS_PALETTE_COLOUR; } /* Draw the rectangle if 'tranparent station signs' is off, -- cgit v1.2.3-54-g00ecf