equal
deleted
inserted
replaced
1546 |
1546 |
1547 if (CheckSavegameVersion(37)) { |
1547 if (CheckSavegameVersion(37)) { |
1548 ConvertNameArray(); |
1548 ConvertNameArray(); |
1549 } |
1549 } |
1550 |
1550 |
1551 /* from version 38 we have optional elrails */ |
1551 /* from version 38 we have optional elrails, since we cannot know the |
|
1552 * preference of a user, let elrails enabled; it can be disabled manually */ |
1552 if (CheckSavegameVersion(38)) { |
1553 if (CheckSavegameVersion(38)) { |
1553 /* old game - before elrails made optional */ |
1554 _patches.disable_elrails = false; // enable elrails |
1554 if (CheckSavegameVersion(24)) { |
1555 /* do the same as when elrails were enabled/disabled manually just now */ |
1555 /* very old game - before elrail was introduced */ |
1556 SettingsDisableElrail(_patches.disable_elrails); |
1556 _patches.disable_elrails = true; // disable elrails |
1557 } |
1557 } else { |
|
1558 /* game with mandatory elrails (r4150+) */ |
|
1559 _patches.disable_elrails = false; // enable elrails |
|
1560 } |
|
1561 } |
|
1562 /* do the same as when elrails were enabled/disabled manually just now */ |
|
1563 SettingsDisableElrail(_patches.disable_elrails); |
|
1564 |
1558 |
1565 return true; |
1559 return true; |
1566 } |
1560 } |