From 0f72032d440d17d96c65c536e070624efe26675d Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 19 Dec 2008 23:13:51 +0000 Subject: (svn r14696) -Fix (r10495): Words now consist of 16 bits. --- src/newgrf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 56ce8f10a..f44b993cd 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2277,8 +2277,8 @@ static ChangeInfoResult IndustriesChangeInfo(uint indid, int numinfo, int prop, case 0x1D: case 0x1E: { uint32 multiples = grf_load_dword(&buf); - indsp->input_cargo_multiplier[prop - 0x1C][0] = GB(multiples, 0, 15); - indsp->input_cargo_multiplier[prop - 0x1C][1] = GB(multiples, 15, 15); + indsp->input_cargo_multiplier[prop - 0x1C][0] = GB(multiples, 0, 16); + indsp->input_cargo_multiplier[prop - 0x1C][1] = GB(multiples, 16, 16); } break; case 0x1F: // Industry name -- cgit v1.2.3-70-g09d2