summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-30 10:27:45 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-30 10:27:45 +0000
commit1cdee354b490d4c1dbbfe05f51322b2b143cb392 (patch)
tree22f875899541e51c8617d9f8deec54d43ce51599 /src/engine.h
parent94aa04948c35a08fadc26a1213440f83fc1f6825 (diff)
downloadopenttd-1cdee354b490d4c1dbbfe05f51322b2b143cb392.tar.xz
(svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains.
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h
index 69fff1c20..38f824522 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -42,6 +42,7 @@ struct RailVehicleInfo {
byte capacity;
CargoID cargo_type;
byte ai_rank;
+ byte ai_passenger_only; ///< Bit value to tell AI that this engine is for passenger use only
uint16 pow_wag_power;
byte pow_wag_weight;
byte visual_effect; // NOTE: this is not 100% implemented yet, at the moment it is only used as a 'fallback' value