diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 11:30:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 11:30:37 +0000 |
commit | 19eabdba2cf0184d5dc55cb3b9b8a7b5fe7ccfd3 (patch) | |
tree | e0fd85356bbcae38f6b50b8e7bc9470156b81e2d /src/industry_cmd.cpp | |
parent | 643c54d288e091adf386bacd3615991e24e8909f (diff) | |
download | openttd-19eabdba2cf0184d5dc55cb3b9b8a7b5fe7ccfd3.tar.xz |
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 3f1aa0613..e42e87e51 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1165,7 +1165,7 @@ static CommandCost CheckNewIndustry_NULL(TileIndex tile) static CommandCost CheckNewIndustry_Forest(TileIndex tile) { if (_settings_game.game_creation.landscape == LT_ARCTIC) { - if (GetTileZ(tile) < HighestSnowLine() + 2U) { + if (GetTileZ(tile) < HighestSnowLine() + 2) { return_cmd_error(STR_ERROR_FOREST_CAN_ONLY_BE_PLANTED); } } |