(svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries

Based on FS#289, by pitt2
This commit is contained in:
belugas
2007-05-01 17:16:51 +00:00
parent f25a168c98
commit 9b7a615887
7 changed files with 25 additions and 12 deletions

View File

@@ -1938,6 +1938,17 @@ bool AfterLoadGame()
}
}
if (CheckSavegameVersion(58)) {
/* patch difficulty number_industries other then zero get bumped to +1
* since a new option (very low at position1) has been added */
if (_opt.diff.number_industries > 0) {
_opt.diff.number_industries++;
}
/* Same goes for number of towns, although no test is needed, just an increment */
_opt.diff.number_towns++;
}
return true;
}