mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
This commit is contained in:
parent
26eb9eb7e2
commit
110e25e859
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user