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 | 59fca8523fb64481d95ebd909551f9aed4b28516 (patch) | |
tree | b3bbb91d5008e67a0730b73fbb387d88f02c67c5 /src | |
parent | c20e6d3a134efd95844022e7f471a1f13b7e7c37 (diff) | |
download | openttd-59fca8523fb64481d95ebd909551f9aed4b28516.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 |