Merge branch 'master' into jgrpp-beta
# Conflicts: # src/lang/chuvash.txt # src/lang/czech.txt # src/lang/english_AU.txt # src/lang/english_US.txt # src/lang/german.txt # src/lang/japanese.txt # src/lang/korean.txt # src/lang/latvian.txt # src/lang/russian.txt # src/tree_gui.cpp # src/vehicle.cpp
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
void PlaceTreesRandomly();
|
||||
void RemoveAllTrees();
|
||||
uint PlaceTreeGroupAroundTile(TileIndex tile, TreeType treetype, uint radius, uint count);
|
||||
uint PlaceTreeGroupAroundTile(TileIndex tile, TreeType treetype, uint radius, uint count, bool set_zone);
|
||||
|
||||
/** Tree Sprites with their palettes */
|
||||
const PalSpriteID tree_sprites[] = {
|
||||
@@ -135,7 +135,8 @@ class BuildTreesWindow : public Window
|
||||
}
|
||||
const uint radius = this->mode == PM_FOREST_LG ? 12 : 5;
|
||||
const uint count = this->mode == PM_FOREST_LG ? 12 : 5;
|
||||
PlaceTreeGroupAroundTile(tile, treetype, radius, count);
|
||||
// Create tropic zones only when the tree type is selected by the user and not picked randomly.
|
||||
PlaceTreeGroupAroundTile(tile, treetype, radius, count, this->tree_to_plant != TREE_INVALID);
|
||||
}
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user