From 12125f6033dad617d255ca8923144dcea71e0196 Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 28 Feb 2011 15:24:35 +0000 Subject: (svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2