(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
This commit is contained in:
@@ -26,7 +26,7 @@ struct Engine : EnginePool::PoolItem<&_engine_pool> {
|
||||
uint8 preview_company_rank;
|
||||
byte preview_wait;
|
||||
CompanyMask company_avail;
|
||||
uint8 image_index; ///< Original vehicle image index
|
||||
uint8 original_image_index; ///< Original vehicle image index, thus the image index of the overridden vehicle
|
||||
VehicleType type; ///< type, ie VEH_ROAD, VEH_TRAIN, etc.
|
||||
|
||||
EngineInfo info;
|
||||
|
Reference in New Issue
Block a user