Add fast path to vehicle var 0x42 if only upper byte is required
This commit is contained in:
@@ -73,6 +73,7 @@ enum NewGRFCacheValidValues {
|
||||
NCVV_CONSIST_CARGO_INFORMATION = 2, ///< This bit will be set if the NewGRF var 42 currently stored is valid.
|
||||
NCVV_COMPANY_INFORMATION = 3, ///< This bit will be set if the NewGRF var 43 currently stored is valid.
|
||||
NCVV_POSITION_IN_VEHICLE = 4, ///< This bit will be set if the NewGRF var 4D currently stored is valid.
|
||||
NCVV_CONSIST_CARGO_INFORMATION_UD = 5, ///< This bit will be set if the uppermost byte of NewGRF var 42 currently stored is valid.
|
||||
NCVV_END, ///< End of the bits.
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user