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:
Alexander Overvoorde 2016-11-21 22:54:06 +01:00 committed by Michael Steenbeek
parent aef80b1a82
commit 18d943533a
2 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,7 @@ public:
ImportSavedView();
game_convert_strings_to_utf8();
map_count_remaining_land_rights();
}
private:

View File

@ -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();