Fix comment on setting update for 0.1 increment town cargo scale factor
This commit is contained in:
@@ -3424,7 +3424,7 @@ bool AfterLoadGame()
|
|||||||
FOR_ALL_VEHICLES(v) SB(v->vehicle_flags, VF_TIMETABLE_SEPARATION, 1, _settings_game.order.old_timetable_separation);
|
FOR_ALL_VEHICLES(v) SB(v->vehicle_flags, VF_TIMETABLE_SEPARATION, 1, _settings_game.order.old_timetable_separation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set lifetime vehicle profit to 0 if lifetime profit feature is missing */
|
/* Set 0.1 increment town cargo scale factor setting from old 1 increment setting */
|
||||||
if (!SlXvIsFeaturePresent(XSLFI_TOWN_CARGO_ADJ, 2)) {
|
if (!SlXvIsFeaturePresent(XSLFI_TOWN_CARGO_ADJ, 2)) {
|
||||||
_settings_game.economy.town_cargo_scale_factor = _settings_game.economy.old_town_cargo_factor * 10;
|
_settings_game.economy.town_cargo_scale_factor = _settings_game.economy.old_town_cargo_factor * 10;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user