The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: jamespetts on May 18, 2009, 08:43:53 pm

Title: New release incompatible with older saved games
Post by: jamespetts on May 18, 2009, 08:43:53 pm
I notice that in the latest Simutrans nightly, the following line has been added:

Code: [Select]
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

Code: [Select]
if(  file->get_version()<102002  ) {
Title: Re: New release incompatible with older saved games
Post by: prissi on May 18, 2009, 09:06:23 pm
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.