News:

Want to praise Simutrans?
Your feedback is important for us ;D.

New release incompatible with older saved games

Started by jamespetts, May 18, 2009, 08:43:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

I notice that in the latest Simutrans nightly, the following line has been added:

file->rdwr_bool( with_private_paks, "" );

However, the version number has not been incremented. That means that all games created with Simutrans 102.1 (but not earlier versions) will now fail to load with the latest nightly. Was that intentional, or was the intention to increase the version number?

Edit: I note that the new (102.2) file version is used in other places in the code, such as in ai_goods.cc

if(  file->get_version()<102002  ) {
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

Why, this is under version>102001 and wie are at 102001 ... I increase the version number only just before a new version to avoid savegame number and real version number to deviate too much.