1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

Fix #10574: Force town-buildable roads to be not hidden.

This commit is contained in:
2023-03-28 09:12:04 +01:00
parent e26d3de5fb
commit c3c44d712c

View File

@@ -4516,6 +4516,7 @@ static ChangeInfoResult RoadTypeChangeInfo(uint id, int numinfo, int prop, ByteR
case 0x10: // Road Type flags
rti->flags = (RoadTypeFlags)buf->ReadByte();
if (HasBit(rti->flags, ROTF_TOWN_BUILD)) ClrBit(rti->flags, ROTF_HIDDEN);
break;
case 0x13: // Construction cost factor