Fix town growth rates when loading JokerPP v1.27 savegames

See #123
This commit is contained in:
Jonathan G Rennison
2019-12-29 02:03:48 +00:00
parent ec0b43f231
commit 796a878b90

View File

@@ -3455,7 +3455,7 @@ bool AfterLoadGame()
#endif #endif
} }
if (IsSavegameVersionBefore(SLV_198)) { if (IsSavegameVersionBefore(SLV_198) && !SlXvIsFeaturePresent(XSLFI_JOKERPP, SL_JOKER_1_27)) {
/* Convert towns growth_rate and grow_counter to ticks */ /* Convert towns growth_rate and grow_counter to ticks */
Town *t; Town *t;
FOR_ALL_TOWNS(t) { FOR_ALL_TOWNS(t) {