The International Simutrans Forum

 

Author Topic: Specifying the wrong version number  (Read 328 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1224
  • Languages: ja
Specifying the wrong version number
« on: October 18, 2020, 06:11:29 AM »
I happened to notice the typo.

https://github.com/aburch/simutrans/blob/0c45d1a60c3424f1828f596366a67870025a741d/dataobj/environment.cc#L502

Code: [Select]
if(  file->is_version_atleast(120, 7)  ) {
I think 120 is correct instead of 102.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4756
  • Languages: EN, DE, AT
Re: Specifying the wrong version number
« Reply #1 on: October 18, 2020, 10:00:11 AM »
Thanks for reporting! Not sure what to do. Fixing this typo might make some saves unloadable.

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 10241
  • Languages: De,EN,JP
Re: Specifying the wrong version number
« Reply #2 on: October 18, 2020, 11:52:17 AM »
Only saves that were saved with a nightly between r8573 and release 120.4 r8588 will not be able to load default.sve... That is really not a issue, sicne the environment is not saved in the savegames. The environment is usually only read from the previous version during an update.