diff options
author | frosch <frosch@openttd.org> | 2011-12-12 19:30:36 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-12-12 19:30:36 +0000 |
commit | 44dc83b73fbf0e9832576d62a7e4ef0f1f110b83 (patch) | |
tree | 98ab9965ac3daed51a7b4b85ea17d89074b0a3e0 /src/vehicle_base.h | |
parent | 89854e0ab12975955e46e9d98f9f0212f80c3605 (diff) | |
download | openttd-44dc83b73fbf0e9832576d62a7e4ef0f1f110b83.tar.xz |
(svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of the wrong GRF.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 5ac7bd540..3a13ec4e7 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -60,7 +60,7 @@ struct NewGRFCache { /* Values calculated when they are requested for the first time after invalidating the NewGRF cache. */ uint32 position_consist_length; ///< Cache for NewGRF var 40. uint32 position_same_id_length; ///< Cache for NewGRF var 41. - uint32 consist_cargo_information; ///< Cache for NewGRF var 42. + uint32 consist_cargo_information; ///< Cache for NewGRF var 42. (Note: The cargotype is untranslated in the cache because the accessing GRF is yet unknown.) uint32 company_information; ///< Cache for NewGRF var 43. uint8 cache_valid; ///< Bitset that indicates which cache values are valid. }; |