Changeset - r16896:7d6e4876f558
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-12-26 06:52:38
rubidium@openttd.org
(svn r21641) -Fix (r21639): ofcourse MSVC wants to have something to warn about
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -286,8 +286,8 @@ static void SetColourRemap(TextColour co
 

	
 
	/* Black strings have no shading ever; the shading is black, so it
 
	 * would be invisible at best, but it actually makes it illegible. */
 
	bool no_shade   = colour & TC_NO_SHADE || colour == TC_BLACK;
 
	bool raw_colour = colour & TC_IS_PALETTE_COLOUR;
 
	bool no_shade   = (colour & TC_NO_SHADE) != 0 || colour == TC_BLACK;
 
	bool raw_colour = (colour & TC_IS_PALETTE_COLOUR) != 0;
 
	colour &= ~(TC_NO_SHADE | TC_IS_PALETTE_COLOUR);
 

	
 
	_string_colourremap[1] = raw_colour ? (byte)colour : _string_colourmap[_use_palette][colour];
0 comments (0 inline, 0 general)