(svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes

This commit is contained in:
yexo 2011-02-28 15:24:35 +00:00
parent 34ea215d78
commit 12125f6033
1 changed files with 1 additions and 1 deletions

View File

@ -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;