(svn r10991) -Codechange: add documentation, enumification and some code simplifications to the terraforming code. Patch by frosch.

This commit is contained in:
rubidium
2007-08-27 21:18:04 +00:00
parent 68d385b77c
commit 5ce935c6eb
4 changed files with 122 additions and 53 deletions

View File

@@ -706,6 +706,7 @@ no_slope:
res = DoCommand(tile, slope, 0, DC_EXEC | DC_AUTO | DC_NO_WATER,
CMD_TERRAFORM_LAND);
} else {
/* Note: Do not replace " ^ 0xF" with ComplementSlope(). The slope might be steep. */
res = DoCommand(tile, slope ^ 0xF, 1, DC_EXEC | DC_AUTO | DC_NO_WATER,
CMD_TERRAFORM_LAND);
}