mirror of https://github.com/OpenRCT2/OpenRCT2.git
Global variables regarding land ownership weren't initialized upon loading a .park file. This would lead to different bugs when using the 'Land rights' window, like markers remaining visible indefinitely and not being able to select the type of land rights to buy.
This commit is contained in:
parent
9855ff5cac
commit
0ea5f343af
|
@ -41,6 +41,7 @@
|
||||||
- Fix: [#18442] About window background is clickable.
|
- Fix: [#18442] About window background is clickable.
|
||||||
- Fix: [#18449] [Plugin] Change type of listview widgets from 'scroll_view' to 'listview'.
|
- Fix: [#18449] [Plugin] Change type of listview widgets from 'scroll_view' to 'listview'.
|
||||||
- Fix: [#18453] Slow walking guests don't get across level crossings in time.
|
- Fix: [#18453] Slow walking guests don't get across level crossings in time.
|
||||||
|
- Fix: [#18469] Land rights window buttons incorrectly disabled and markers remain visible indefinitely.
|
||||||
- Fix: [#18459] ‘Highlight path issues’ hides fences for paths with additions.
|
- Fix: [#18459] ‘Highlight path issues’ hides fences for paths with additions.
|
||||||
- Fix: [#18606] JSON objects do not take priority over the DAT files they supersede.
|
- Fix: [#18606] JSON objects do not take priority over the DAT files they supersede.
|
||||||
- Fix: [#18620] [Plugin] Crash when reading widget properties from windows that have both static and tab widgets.
|
- Fix: [#18620] [Plugin] Crash when reading widget properties from windows that have both static and tab widgets.
|
||||||
|
|
|
@ -453,6 +453,8 @@ void game_fix_save_vars()
|
||||||
ParkEntranceFixLocations();
|
ParkEntranceFixLocations();
|
||||||
|
|
||||||
UpdateConsolidatedPatrolAreas();
|
UpdateConsolidatedPatrolAreas();
|
||||||
|
|
||||||
|
MapCountRemainingLandRights();
|
||||||
}
|
}
|
||||||
|
|
||||||
void game_load_init()
|
void game_load_init()
|
||||||
|
|
|
@ -196,7 +196,6 @@ namespace RCT1
|
||||||
SetDefaultNames();
|
SetDefaultNames();
|
||||||
determine_ride_entrance_and_exit_locations();
|
determine_ride_entrance_and_exit_locations();
|
||||||
|
|
||||||
MapCountRemainingLandRights();
|
|
||||||
research_determine_first_of_type();
|
research_determine_first_of_type();
|
||||||
|
|
||||||
CheatsReset();
|
CheatsReset();
|
||||||
|
|
|
@ -501,7 +501,6 @@ namespace RCT2
|
||||||
// Fix and set dynamic variables
|
// Fix and set dynamic variables
|
||||||
MapStripGhostFlagFromElements();
|
MapStripGhostFlagFromElements();
|
||||||
ConvertScenarioStringsToUTF8();
|
ConvertScenarioStringsToUTF8();
|
||||||
MapCountRemainingLandRights();
|
|
||||||
determine_ride_entrance_and_exit_locations();
|
determine_ride_entrance_and_exit_locations();
|
||||||
|
|
||||||
park.Name = GetUserString(_s6.park_name);
|
park.Name = GetUserString(_s6.park_name);
|
||||||
|
|
Loading…
Reference in New Issue