Infrastructure sharing patch: save/load changes.

This commit is contained in:
Jonathan G Rennison
2015-08-06 23:02:47 +01:00
parent 037cce3b38
commit b3ebb1f729
5 changed files with 25 additions and 13 deletions

View File

@@ -2390,7 +2390,7 @@ bool AfterLoadGame()
FOR_ALL_DEPOTS(d) d->build_date = _date;
}
if (IsSavegameVersionBefore(200)) {
if (SlXvIsFeatureMissing(XSLFI_INFRA_SHARING)) {
Company *c;
FOR_ALL_COMPANIES(c) {
/* yearly_expenses has 3*15 entries now, saveload code gave us 3*13.