(svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of the wrong GRF.

This commit is contained in:
frosch
2011-12-12 19:30:36 +00:00
parent 89854e0ab1
commit 44dc83b73f
2 changed files with 16 additions and 8 deletions

View File

@@ -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.
};