# HG changeset patch # User peter1138 # Date 1200767060 0 # Node ID df06e88e5dbd1aab0d43dd99f968177ae24c1928 # Parent 7f8b5c11bea6fc879f123eebab972e93898597b3 (svn r11927) -Fix (r11926): unable to place canals in game diff -r 7f8b5c11bea6 -r df06e88e5dbd src/water_cmd.cpp --- a/src/water_cmd.cpp Sat Jan 19 17:00:54 2008 +0000 +++ b/src/water_cmd.cpp Sat Jan 19 18:24:20 2008 +0000 @@ -271,7 +271,7 @@ if (p1 >= MapSize()) return CMD_ERROR; /* Outside of the editor you can only build canals, not oceans */ - if (p2 == 0 && _game_mode != GM_EDITOR) return CMD_ERROR; + if (p2 != 0 && _game_mode != GM_EDITOR) return CMD_ERROR; x = TileX(tile); y = TileY(tile);