mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r7817) -Fix (r7573): Bridge merge broke building canals at level 0.
This commit is contained in:
@@ -252,7 +252,7 @@ int32 CmdBuildCanal(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
cost += ret;
|
||||
|
||||
if (flags & DC_EXEC) {
|
||||
if (TileHeight(tile) == 0) {
|
||||
if (TileHeight(tile) == 0 && HASBIT(p2, 0)) {
|
||||
MakeWater(tile);
|
||||
} else {
|
||||
MakeCanal(tile, _current_player);
|
||||
|
Reference in New Issue
Block a user