summaryrefslogtreecommitdiff
path: root/src/saveload.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-13 12:08:37 +0000
committerrubidium <rubidium@openttd.org>2007-07-13 12:08:37 +0000
commit5ed3482aac730afbe1970c76ba30a6cee6e1ca42 (patch)
tree8dd8b1852ab4c99689f6c02468cffb13f808288b /src/saveload.cpp
parent3d684e3477a526396c296b9b55b466ab57b7dde3 (diff)
downloadopenttd-5ed3482aac730afbe1970c76ba30a6cee6e1ca42.tar.xz
(svn r10541) -Fix [FS#1028]: cargo payment rates overflow.
-Fix: cargo payment rates diverge from cost rates making it impossible to make any profit after a certain number of years. Both are solved by stopping the inflation after 170 years; there is absolutely no point in continueing the inflation after that as it only makes the game have overflows at some point that cannot be solved; using larger variables only delays the inevitable.
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r--src/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp
index e3828e325..63837abfd 100644
--- a/src/saveload.cpp
+++ b/src/saveload.cpp
@@ -30,7 +30,7 @@
#include <setjmp.h>
#include <list>
-extern const uint16 SAVEGAME_VERSION = 69;
+extern const uint16 SAVEGAME_VERSION = 70;
uint16 _sl_version; ///< the major savegame version identifier
byte _sl_minor_version; ///< the minor savegame version, DO NOT USE!