# HG changeset patch # User richk # Date 1208974285 0 # Node ID c8b1eafc56bd0d9d6003ab9ac85b69b8b5678a83 # Parent e90761e3774432d5e4eee7aa17100a87fdc7bd86 (svn r12851) [NewGRF_ports] -Fix: Slight mis-sync disabled colouring of selection tiles for seaplane airports. diff -r e90761e37744 -r c8b1eafc56bd src/viewport.cpp --- a/src/viewport.cpp Wed Apr 23 03:14:27 2008 +0000 +++ b/src/viewport.cpp Wed Apr 23 18:11:25 2008 +0000 @@ -903,9 +903,8 @@ } } if (_thd.FSMportLayout == NULL) { - DrawTileSelectionRect(ti, _thd.make_square_red ? PALETTE_SEL_TILE_RED : PAL_NONE); + if (!is_redsq) DrawTileSelectionRect(ti, _thd.make_square_red ? PALETTE_SEL_TILE_RED : PAL_NONE); } - if (!is_redsq) DrawTileSelectionRect(ti, _thd.make_square_red ? PALETTE_SEL_TILE_RED : PAL_NONE); } else if (_thd.drawstyle & HT_POINT) { /* Figure out the Z coordinate for the single dot. */ byte z = 0;