diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 11:19:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 11:19:30 +0000 |
commit | 548dd91ef0ed6d470dc3553b994022ead99ece95 (patch) | |
tree | 2f948640d743b22b564a36d2b01258c3e6650097 /src/terraform_cmd.cpp | |
parent | 28d25cadfc87398c3b352a07de377b836e4aa0d1 (diff) | |
download | openttd-548dd91ef0ed6d470dc3553b994022ead99ece95.tar.xz |
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
Diffstat (limited to 'src/terraform_cmd.cpp')
-rw-r--r-- | src/terraform_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terraform_cmd.cpp b/src/terraform_cmd.cpp index 2c45bcc45..424aa9f37 100644 --- a/src/terraform_cmd.cpp +++ b/src/terraform_cmd.cpp @@ -156,7 +156,7 @@ static CommandCost TerraformTileHeight(TerraformerState *ts, TileIndex tile, int /* Check range of destination height */ if (height < 0) return_cmd_error(STR_ERROR_ALREADY_AT_SEA_LEVEL); - if (height > MAX_TILE_HEIGHT) return_cmd_error(STR_ERROR_TOO_HIGH); + if (height > (int)MAX_TILE_HEIGHT) return_cmd_error(STR_ERROR_TOO_HIGH); /* * Check if the terraforming has any effect. |