diff options
author | frosch <frosch@openttd.org> | 2008-01-30 17:22:06 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-01-30 17:22:06 +0000 |
commit | 46589fa8270516b476cbafd3b1df490ec4106dce (patch) | |
tree | 834594acaf672bdbcf810b84c3e44cbd20b7e2fe /src/tree_cmd.cpp | |
parent | 1cdee354b490d4c1dbbfe05f51322b2b143cb392 (diff) | |
download | openttd-46589fa8270516b476cbafd3b1df490ec4106dce.tar.xz |
(svn r12020) -Documentation: Correct description of TropicZone.
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r-- | src/tree_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 7fc9c133c..890243ed6 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -58,7 +58,7 @@ static TreeType GetRandomTreeType(TileIndex tile, uint seed) case LT_TROPIC: switch (GetTropicZone(tile)) { - case TROPICZONE_INVALID: return (TreeType)(seed * TREE_COUNT_SUB_TROPICAL / 256 + TREE_SUB_TROPICAL); + case TROPICZONE_NORMAL: return (TreeType)(seed * TREE_COUNT_SUB_TROPICAL / 256 + TREE_SUB_TROPICAL); case TROPICZONE_DESERT: return (TreeType)((seed > 12) ? TREE_INVALID : TREE_CACTUS); default: return (TreeType)(seed * TREE_COUNT_RAINFOREST / 256 + TREE_RAINFOREST); } |