author | peter1138 |
Sat, 19 Jan 2008 18:24:20 +0000 | |
changeset 8857 | df06e88e5dbd |
parent 8856 | 7f8b5c11bea6 |
child 8858 | 576be95ed078 |
src/water_cmd.cpp | file | annotate | diff | comparison | revisions |
--- 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);