1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 19:39:12 +00:00

Fix 6d6e64b1f0: Road stop properties 0x13/0x14 were not skipped properly. (#14567)

These properties where changed to be variable length for consistency, but ignoring them treated them as fixed length.
This commit is contained in:
2025-09-01 18:52:55 +01:00
committed by GitHub
parent 73045f9b0e
commit 960b840291

View File

@@ -51,9 +51,7 @@ static ChangeInfoResult IgnoreRoadStopProperty(uint prop, ByteReader &buf)
case 0x13:
case 0x14:
buf.ReadWord();
buf.ReadWord();
buf.ReadWord();
buf.Skip(buf.ReadExtendedByte());
break;
case 0x16: // Badge list