mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes
This commit is contained in:
parent
34ea215d78
commit
12125f6033
@ -2455,6 +2455,7 @@ static ChangeInfoResult IgnoreIndustryProperty(int prop, ByteReader *buf)
|
||||
buf->ReadWord();
|
||||
break;
|
||||
|
||||
case 0x11:
|
||||
case 0x1A:
|
||||
case 0x1C:
|
||||
case 0x1D:
|
||||
@ -2485,7 +2486,6 @@ static ChangeInfoResult IgnoreIndustryProperty(int prop, ByteReader *buf)
|
||||
break;
|
||||
}
|
||||
|
||||
case 0x11:
|
||||
case 0x16:
|
||||
for (byte j = 0; j < 3; j++) buf->ReadByte();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user