mirror of https://github.com/OpenTTD/OpenTTD
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
parent
26eb9eb7e2
commit
110e25e859
|
@ -153,7 +153,7 @@ static void ConvertTownOwner()
|
||||||
/* FALL THROUGH */
|
/* FALL THROUGH */
|
||||||
|
|
||||||
case MP_TUNNELBRIDGE:
|
case MP_TUNNELBRIDGE:
|
||||||
if (GetTileOwner(tile) & 0x80) SetTileOwner(tile, OWNER_TOWN);
|
if (_m[tile].m1 & 0x80) SetTileOwner(tile, OWNER_TOWN);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: break;
|
default: break;
|
||||||
|
|
Loading…
Reference in New Issue