(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
This commit is contained in:
@@ -1556,13 +1556,13 @@ bool AfterLoadGame()
|
||||
if (_settings_game.pf.yapf.rail_use_yapf || CheckSavegameVersion(28)) {
|
||||
_settings_game.pf.pathfinder_for_trains = VPF_YAPF;
|
||||
} else {
|
||||
_settings_game.pf.pathfinder_for_trains = (_settings_game.pf.new_pathfinding_all ? VPF_NPF : VPF_NTP);
|
||||
_settings_game.pf.pathfinder_for_trains = VPF_NPF;
|
||||
}
|
||||
|
||||
if (_settings_game.pf.yapf.road_use_yapf || CheckSavegameVersion(28)) {
|
||||
_settings_game.pf.pathfinder_for_roadvehs = VPF_YAPF;
|
||||
} else {
|
||||
_settings_game.pf.pathfinder_for_roadvehs = (_settings_game.pf.new_pathfinding_all ? VPF_NPF : VPF_OPF);
|
||||
_settings_game.pf.pathfinder_for_roadvehs = VPF_NPF;
|
||||
}
|
||||
|
||||
if (_settings_game.pf.yapf.ship_use_yapf) {
|
||||
|
Reference in New Issue
Block a user