Skip to content

Commit

Permalink
Fix OpenTTD#10574: Force town-buildable roads to be not hidden.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterN committed Mar 28, 2023
1 parent e26d3de commit c3c44d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/newgrf.cpp
Expand Up @@ -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
Expand Down

0 comments on commit c3c44d7

Please sign in to comment.