mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 08:59:09 +00:00
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user