diff options
author | smatz <smatz@openttd.org> | 2011-01-14 18:58:03 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-01-14 18:58:03 +0000 |
commit | 110e25e85970fa03627af5d256db02c300ac9c1a (patch) | |
tree | 049fba0730cead18bb2b632765fbabcba3ecea7d /src/saveload | |
parent | 26eb9eb7e28716b393de8b001fe80289b522ef93 (diff) | |
download | openttd-110e25e85970fa03627af5d256db02c300ac9c1a.tar.xz |
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index ef2143fa1..7694bcc9a 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -153,7 +153,7 @@ static void ConvertTownOwner() /* FALL THROUGH */ case MP_TUNNELBRIDGE: - if (GetTileOwner(tile) & 0x80) SetTileOwner(tile, OWNER_TOWN); + if (_m[tile].m1 & 0x80) SetTileOwner(tile, OWNER_TOWN); break; default: break; |