summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r--src/saveload/afterload.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index bc27288e2..e29889dd5 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2746,6 +2746,11 @@ bool AfterLoadGame()
/* Fix too high inflation rates */
if (_economy.inflation_prices > MAX_INFLATION) _economy.inflation_prices = MAX_INFLATION;
if (_economy.inflation_payment > MAX_INFLATION) _economy.inflation_payment = MAX_INFLATION;
+
+ /* We have to convert the quarters of bankruptcy into months of bankruptcy */
+ FOR_ALL_COMPANIES(c) {
+ c->months_of_bankruptcy = 3 * c->months_of_bankruptcy;
+ }
}
/* Road stops is 'only' updating some caches */