Fix set distributed timetable start not working when using minutes.
Remove WALLCLOCK_NETWORK_COMPATIBLE, it's a pain and not useful. Whitespace fixes.
This commit is contained in:
@@ -3098,15 +3098,7 @@ bool AfterLoadGame()
|
||||
#endif
|
||||
}
|
||||
|
||||
if (SlXvIsFeaturePresent(XSLFI_TIMETABLES_START_TICKS) && WALLCLOCK_NETWORK_COMPATIBLE) {
|
||||
// savegame timetable start is in ticks, but we want it in days, fix it up
|
||||
Vehicle *v;
|
||||
FOR_ALL_VEHICLES(v) {
|
||||
if (v->timetable_start != 0) {
|
||||
v->timetable_start /= DAY_TICKS;
|
||||
}
|
||||
}
|
||||
} else if (SlXvIsFeatureMissing(XSLFI_TIMETABLES_START_TICKS) && (!WALLCLOCK_NETWORK_COMPATIBLE)) {
|
||||
if (SlXvIsFeatureMissing(XSLFI_TIMETABLES_START_TICKS)) {
|
||||
// savegame timetable start is in days, but we want it in ticks, fix it up
|
||||
Vehicle *v;
|
||||
FOR_ALL_VEHICLES(v) {
|
||||
|
Reference in New Issue
Block a user