Merge branch 'reverse_at_waypoint' into jgrpp
Conflicts: src/order_gui.cpp src/saveload/extended_ver_sl.cpp src/saveload/extended_ver_sl.h src/train_cmd.cpp
This commit is contained in:
@@ -3074,6 +3074,13 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
if (SlXvIsFeatureMissing(XSLFI_REVERSE_AT_WAYPOINT)) {
|
||||
Train *t;
|
||||
FOR_ALL_TRAINS(t) {
|
||||
t->reverse_distance = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Only keep order-backups for network clients (and when replaying).
|
||||
* If we are a network server or not networking, then we just loaded a previously
|
||||
|
Reference in New Issue
Block a user