1
0
Fork 0

(svn r25220) -Change [FS#Eddi]: Consider map border as water wrt. river/canal continuation.

release/1.4
frosch 2013-05-06 12:49:04 +00:00
parent f2322974a2
commit 02924a1d3e
1 changed files with 2 additions and 0 deletions

View File

@ -606,6 +606,8 @@ static bool IsWateredTile(TileIndex tile, Direction from)
case MP_TUNNELBRIDGE: return GetTunnelBridgeTransportType(tile) == TRANSPORT_WATER && ReverseDiagDir(GetTunnelBridgeDirection(tile)) == DirToDiagDir(from);
case MP_VOID: return true; // consider map border as water, esp. for rivers
default: return false;
}
}