(svn r12851) [NewGRF_ports] -Fix: Slight mis-sync disabled colouring of selection tiles for seaplane airports.
--- 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;