diff options
author | richk <richk@openttd.org> | 2007-03-02 18:49:11 +0000 |
---|---|---|
committer | richk <richk@openttd.org> | 2007-03-02 18:49:11 +0000 |
commit | d11e36e477c9a3e7cf56cbc943b8310c2daa677d (patch) | |
tree | 1dca484c3713d4e52180c82b4ffc306b7e222e87 /src/saveload.cpp | |
parent | 0961e1bc5659e6ec7db517c35efaf1e457441cef (diff) | |
download | openttd-d11e36e477c9a3e7cf56cbc943b8310c2daa677d.tar.xz |
(svn r8978) -Feature: Rewrite of transfer system.
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r-- | src/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp index ccb96d069..509fe6f46 100644 --- a/src/saveload.cpp +++ b/src/saveload.cpp @@ -28,7 +28,7 @@ #include "variables.h" #include <setjmp.h> -extern const uint16 SAVEGAME_VERSION = 50; +extern const uint16 SAVEGAME_VERSION = 51; uint16 _sl_version; ///< the major savegame version identifier byte _sl_minor_version; ///< the minor savegame version, DO NOT USE! |