Clear viewport map mode landscape caches when deleting/merging companies

This commit is contained in:
Jonathan G Rennison
2023-04-03 21:11:29 +01:00
parent 8ddb9462e6
commit da97e0d170

View File

@@ -615,6 +615,9 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner)
RegisterGameEvents(new_owner != INVALID_OWNER ? GEF_COMPANY_MERGE : GEF_COMPANY_DELETE);
MarkWholeScreenDirty();
extern void MarkAllViewportMapLandscapesDirty();
MarkAllViewportMapLandscapesDirty();
}
/**