diff options
author | yexo <yexo@openttd.org> | 2009-05-26 21:59:49 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-05-26 21:59:49 +0000 |
commit | 0d56cfabfa6b6553f02a701d3ec3d92cc7067b63 (patch) | |
tree | cbedc97360c42339860d6b03483900a203cf2ec3 /src/saveload/afterload.cpp | |
parent | aa62ec0a1f7cc2416e0397eeccc90156d27b8b44 (diff) | |
download | openttd-0d56cfabfa6b6553f02a701d3ec3d92cc7067b63.tar.xz |
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r-- | src/saveload/afterload.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index d55b821e3..a298108aa 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -1846,6 +1846,14 @@ bool AfterLoadGame() } } + if (CheckSavegameVersion(120)) { + extern VehicleDefaultSettings _old_vds; + Company *c; + FOR_ALL_COMPANIES(c) { + c->settings.vehicle = _old_vds; + } + } + AfterLoadLabelMaps(); GamelogPrintDebug(1); |