summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-23 17:58:07 +0000
committertron <tron@openttd.org>2006-04-23 17:58:07 +0000
commite485e9df219703aaf4fc9e5e62280f4dcb94f994 (patch)
tree7d3dfa54b0be777122636f2d42836258cc40080b
parent7e229e972850ff4f9f02c44966f77cfa2e0aca33 (diff)
downloadopenttd-e485e9df219703aaf4fc9e5e62280f4dcb94f994.tar.xz
(svn r4547) Revert a part of r4541 to silence an assertion for now
-rw-r--r--town_cmd.c2
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)) {