News:

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

branch 11.x double line?

Started by Milko, July 25, 2013, 06:32:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Milko

Hello James

Last 11.x branch

file: dataobj/einstellungen.cc, line 1898/1897, there are two lines (add in one of last commits):
unprotect_abondoned_player_months = contents.get_int("unprotect_abondoned_player_months", unprotect_abondoned_player_months );   
unprotect_abondoned_player_months = contents.get_int("unprotect_abandoned_player_months", unprotect_abondoned_player_months ); // Correcting spelling error.

Giuseppe

Dwachs

See the tiny difference:

unprotect_abondoned_player_months = contents.get_int("unprotect_abondoned_player_months", unprotect_abondoned_player_months );   
unprotect_abondoned_player_months = contents.get_int("unprotect_abandoned_player_months", unprotect_abondoned_player_months );

both spellings of the setting are read to keep backward compatibility. This is now also fixed in standard.
Parsley, sage, rosemary, and maggikraut.

jamespetts

Thank you for pointing this out, but Dwachs is correct: it is intentional.

Dwachs - presumably the fix in Standard has a similar effect?
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.

Dwachs

Quote from: jamespetts on July 25, 2013, 08:28:21 PM
Dwachs - presumably the fix in Standard has a similar effect?
Yes, implementation is similar, I only took the freedom to correct the variable name as well.
Parsley, sage, rosemary, and maggikraut.