mirror of https://github.com/OpenRCT2/OpenRCT2.git
parent
e2ef82ca0a
commit
b0a3fd82d9
|
@ -45,6 +45,7 @@
|
|||
- Fix: [#12093] Staff window tab animation was no longer updating.
|
||||
- Fix: [#12123] Long server descriptions are not cut off properly.
|
||||
- Fix: [#12211] Map Generator shows incorrect map sizes (e.g. "150 x 0").
|
||||
- Fix: [#12221] Map Generation tool doesn't place any trees.
|
||||
- Fix: RCT1 scenarios have more items in the object list than are present in the park or the research list.
|
||||
- Improved: [#6530] Allow water and land height changes on park borders.
|
||||
- Improved: [#11390] Build hash written to screenshot metadata.
|
||||
|
|
|
@ -349,7 +349,7 @@ static void mapgen_place_trees()
|
|||
|
||||
int32_t type = -1;
|
||||
auto* surfaceElement = map_get_surface_element_at(pos.ToCoordsXY());
|
||||
if (surfaceElement != nullptr)
|
||||
if (surfaceElement == nullptr)
|
||||
continue;
|
||||
switch (surfaceElement->GetSurfaceStyle())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue