mirror of https://github.com/OpenTTD/OpenTTD.git
Fix : [NewGRF] Object and road stop ignore property handlers (#10525)
* Fix: IgnoreObjectProperty did not handle object property 0x18 * Fix: IgnoreRoadStopProperty did not handle properties 0x0E - 0x12, 0x15
This commit is contained in:
parent
e17c82e32b
commit
5d0ad5625b
|
@ -4059,6 +4059,7 @@ static ChangeInfoResult IgnoreObjectProperty(uint prop, ByteReader *buf)
|
|||
case 0x14:
|
||||
case 0x16:
|
||||
case 0x17:
|
||||
case 0x18:
|
||||
buf->ReadByte();
|
||||
break;
|
||||
|
||||
|
@ -4761,16 +4762,22 @@ static ChangeInfoResult IgnoreRoadStopProperty(uint prop, ByteReader *buf)
|
|||
switch (prop) {
|
||||
case 0x09:
|
||||
case 0x0C:
|
||||
case 0x0F:
|
||||
case 0x11:
|
||||
buf->ReadByte();
|
||||
break;
|
||||
|
||||
case 0x0A:
|
||||
case 0x0B:
|
||||
case 0x0E:
|
||||
case 0x10:
|
||||
case 0x15:
|
||||
buf->ReadWord();
|
||||
break;
|
||||
|
||||
case 0x08:
|
||||
case 0x0D:
|
||||
case 0x12:
|
||||
buf->ReadDWord();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue