mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Fixes #4808: Add land rights recalculation for loading save games
The feature of disabling the land rights buying buttons depends on the land rights being accounted for, but the function that calculates these was not called when loading saved games. Therefore it would often make it impossible to buy land after loading a saved game.
This commit is contained in:
committed by
Michael Steenbeek
parent
aef80b1a82
commit
18d943533a
@@ -157,6 +157,7 @@ public:
|
||||
ImportSavedView();
|
||||
|
||||
game_convert_strings_to_utf8();
|
||||
map_count_remaining_land_rights();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@@ -352,6 +352,7 @@ void S6Importer::Import()
|
||||
}
|
||||
map_update_tile_pointers();
|
||||
game_convert_strings_to_utf8();
|
||||
map_count_remaining_land_rights();
|
||||
if (FixIssues)
|
||||
{
|
||||
game_fix_save_vars();
|
||||
|
||||
Reference in New Issue
Block a user