diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tree_cmd.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index bc94b1fed..243eb6230 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -276,13 +276,9 @@ void PlaceTreesRandomly() ht = GetTileZ(tile); /* The higher we get, the more trees we plant */ j = GetTileZ(tile) / TILE_HEIGHT * 2; + /* Above snowline more trees! */ + if (_settings_game.game_creation.landscape == LT_ARCTIC && ht > GetSnowLine()) j *= 3; while (j--) { - /* Above snowline more trees! */ - if (_settings_game.game_creation.landscape == LT_ARCTIC && ht > GetSnowLine()) { - PlaceTreeAtSameHeight(tile, ht); - PlaceTreeAtSameHeight(tile, ht); - }; - PlaceTreeAtSameHeight(tile, ht); } } |