diff options
author | yexo <yexo@openttd.org> | 2011-02-28 15:24:35 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-02-28 15:24:35 +0000 |
commit | 12125f6033dad617d255ca8923144dcea71e0196 (patch) | |
tree | d313d8ed9e4eaa79f3fa70bdefa0e983bd8de7f4 | |
parent | 34ea215d7874999339ef8f9f4b914ed000592de4 (diff) | |
download | openttd-12125f6033dad617d255ca8923144dcea71e0196.tar.xz |
(svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 58693c669..1a3e53fbc 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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; |