mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-12 01:24:54 +00:00
(svn r27621) -Fix (r27620): Committed too early.
This commit is contained in:
parent
ed27cec094
commit
a5b7800aca
@ -738,11 +738,11 @@ inline uint32 SmallMapWindow::GetTileColours(const TileArea &ta) const
|
|||||||
TileType et = MP_VOID; // Effective tile type at that position.
|
TileType et = MP_VOID; // Effective tile type at that position.
|
||||||
|
|
||||||
TILE_AREA_LOOP(ti, ta) {
|
TILE_AREA_LOOP(ti, ta) {
|
||||||
TileType ttype = GetTileType(tile);
|
TileType ttype = GetTileType(ti);
|
||||||
|
|
||||||
switch (ttype) {
|
switch (ttype) {
|
||||||
case MP_TUNNELBRIDGE: {
|
case MP_TUNNELBRIDGE: {
|
||||||
TransportType tt = GetTunnelBridgeTransportType(tile);
|
TransportType tt = GetTunnelBridgeTransportType(ti);
|
||||||
|
|
||||||
switch (tt) {
|
switch (tt) {
|
||||||
case TRANSPORT_RAIL: ttype = MP_RAILWAY; break;
|
case TRANSPORT_RAIL: ttype = MP_RAILWAY; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user