Fix #9097: Upper 16 bits of cargo base payment rate were discarded. (#9098)
commitfbc232569c149518911ca66fa8d71e2ef2183439
authorPeterN <peter1138@openttd.org>
Sat, 24 Apr 2021 21:27:47 +0000 (24 22:27 +0100)
committerGitHub <noreply@github.com>
Sat, 24 Apr 2021 21:27:47 +0000 (24 22:27 +0100)
tree4ff8fe315c3680539c6452d6862ac5ad6d78dcc8
parentfda1a590f6978f906ed21b6732f80c9aefa02b47
Fix #9097: Upper 16 bits of cargo base payment rate were discarded. (#9098)

NewGRF spec says that base payment rate is 32 bits, but it was loaded into a 16 bit variable. This value is loaded into Money variable after inflation is applied.
src/cargotype.h