diff options
author | frosch <frosch@openttd.org> | 2008-12-19 23:13:51 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-12-19 23:13:51 +0000 |
commit | 0f72032d440d17d96c65c536e070624efe26675d (patch) | |
tree | b3bbb91d5008e67a0730b73fbb387d88f02c67c5 /src | |
parent | d64b89838e689bb3df1689ca81b6a17a0530e1cc (diff) | |
download | openttd-0f72032d440d17d96c65c536e070624efe26675d.tar.xz |
(svn r14696) -Fix (r10495): Words now consist of 16 bits.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |