summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-13 22:13:02 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-13 22:13:02 +0000
commit601b226f0423d524346a3b437f11b2a389c8b3e1 (patch)
tree19ad3cdc5560cdb27c7d298c8cda39a9dd2717c9 /engine.h
parentcaab27d88ee61738cc8229a80d2197db53fa905c (diff)
downloadopenttd-601b226f0423d524346a3b437f11b2a389c8b3e1.tar.xz
(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
Diffstat (limited to 'engine.h')
-rw-r--r--engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine.h b/engine.h
index ccff6c47c..3c5781740 100644
--- a/engine.h
+++ b/engine.h
@@ -21,6 +21,7 @@ typedef struct RailVehicleInfo {
byte engclass; // 0: steam, 1: diesel, 2: electric
byte capacity;
byte cargo_type;
+ byte ai_rank;
byte callbackmask; // see CallbackMask enum
uint16 pow_wag_power;
byte pow_wag_weight;