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
commit9b105c28bde041a76511a82d00d5a617a9cb31c6 (patch)
tree8dd8b1852ab4c99689f6c02468cffb13f808288b /src/saveload.cpp
parent56dfe3031c1748933c422b4ccbe0a3954ea726b7 (diff)
downloadopenttd-9b105c28bde041a76511a82d00d5a617a9cb31c6.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!