1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 21:19:10 +00:00

(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.
This commit is contained in:
rubidium
2007-07-13 12:08:37 +00:00
parent 3d684e3477
commit 5ed3482aac
3 changed files with 22 additions and 4 deletions

View File

@@ -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!