changeset 3639:2ce67e880abf draft

(svn r4547) Revert a part of r4541 to silence an assertion for now
author tron <tron@openttd.org>
date Sun, 23 Apr 2006 17:58:07 +0000
parents bcf3d5966548
children 707742f97c17
files town_cmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -504,7 +504,7 @@
 					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)) {