author | peter1138 |
Sat, 19 Jan 2008 18:24:20 +0000 | |
changeset 8361 | 7963f4b11d96 |
parent 8360 | 3021c928de6c |
child 8362 | d6d38371858a |
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);