diff options
author | Darkvater <Darkvater@openttd.org> | 2007-01-04 01:10:39 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2007-01-04 01:10:39 +0000 |
commit | 2ebf16e95df4864aef01d796ba3eb06a16f93879 (patch) | |
tree | 2ce92626631051f2603d959e25b71e1b4513bf00 /src/water_cmd.c | |
parent | 7bc9c3c9dadd316c386823ca0219cb2836a9738b (diff) | |
download | openttd-2ebf16e95df4864aef01d796ba3eb06a16f93879.tar.xz |
(svn r7817) -Fix (r7573): Bridge merge broke building canals at level 0.
Diffstat (limited to 'src/water_cmd.c')
-rw-r--r-- | src/water_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.c b/src/water_cmd.c index 041f83e20..10051e877 100644 --- a/src/water_cmd.c +++ b/src/water_cmd.c @@ -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); |