changeset 8857 | df06e88e5dbd |
parent 8856 | 7f8b5c11bea6 |
child 8864 | 0082e49e8351 |
--- 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);