diff options
author | tron <tron@openttd.org> | 2006-04-23 17:58:07 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-04-23 17:58:07 +0000 |
commit | bbcdbb830bef0bf7596be1c76fffeb8346fcd9a4 (patch) | |
tree | 7d3dfa54b0be777122636f2d42836258cc40080b | |
parent | 14b6860e6212d2dec46c135a8d3c04fb3905f596 (diff) | |
download | openttd-bbcdbb830bef0bf7596be1c76fffeb8346fcd9a4.tar.xz |
(svn r4547) Revert a part of r4541 to silence an assertion for now
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index 4bb2ffba4..277fd06b9 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -504,7 +504,7 @@ no_slope: res = DoCommand(tile, slope, 0, DC_EXEC | DC_AUTO | DC_NO_WATER, CMD_TERRAFORM_LAND); } else { - res = DoCommand(tile, ComplementSlope(slope), 1, DC_EXEC | DC_AUTO | DC_NO_WATER, + res = DoCommand(tile, slope ^ 0xF, 1, DC_EXEC | DC_AUTO | DC_NO_WATER, CMD_TERRAFORM_LAND); } if (CmdFailed(res) && CHANCE16I(1, 3, r)) { |