summaryrefslogtreecommitdiff
path: root/src/engine_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-16 13:31:06 +0000
committerrubidium <rubidium@openttd.org>2009-06-16 13:31:06 +0000
commit4b05617c42c89a323560a0bfd9225fcac9b69588 (patch)
tree9eb73e8732bc90c24aacbc2209a349557c7b68fb /src/engine_base.h
parent20f73b2f506b87415e39f5e0edb53477635264f9 (diff)
downloadopenttd-4b05617c42c89a323560a0bfd9225fcac9b69588.tar.xz
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
Diffstat (limited to 'src/engine_base.h')
-rw-r--r--src/engine_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_base.h b/src/engine_base.h
index 2f071f343..bbf25b9fa 100644
--- a/src/engine_base.h
+++ b/src/engine_base.h
@@ -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;