summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-02-18 23:55:45 +0000
committerPeterN <peter@fuzzle.org>2019-03-16 22:30:11 +0000
commitfe448a26166dbde1933be797951f0c6329523911 (patch)
tree20d9ad7cf6bf6067a929a3d0b69375387771128c /src/saveload
parentc7b5f34138cf08016239c6f5732e5ae8c0262230 (diff)
downloadopenttd-fe448a26166dbde1933be797951f0c6329523911.tar.xz
Remove: OPF
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
-rw-r--r--src/saveload/saveload.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index ea7882e89..6f32c5506 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -1875,7 +1875,7 @@ bool AfterLoadGame()
if (_settings_game.pf.yapf.ship_use_yapf) {
_settings_game.pf.pathfinder_for_ships = VPF_YAPF;
} else {
- _settings_game.pf.pathfinder_for_ships = (_settings_game.pf.new_pathfinding_all ? VPF_NPF : VPF_OPF);
+ _settings_game.pf.pathfinder_for_ships = VPF_NPF;
}
}
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h
index 77cce4c4a..61d527340 100644
--- a/src/saveload/saveload.h
+++ b/src/saveload/saveload.h
@@ -296,6 +296,7 @@ enum SaveLoadVersion : uint16 {
SLV_SERVE_NEUTRAL_INDUSTRIES, ///< 210 PR#7234 Company stations can serve industries with attached neutral stations.
SLV_ROADVEH_PATH_CACHE, ///< 211 PR#7261 Add path cache for road vehicles.
+ SLV_REMOVE_OPF, ///< 212 PR#7245 Remove OPF.
SL_MAX_VERSION, ///< Highest possible saveload version
};