summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine_type.h1
-rw-r--r--src/table/engines.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/engine_type.h b/src/engine_type.h
index e1b892fb4..777038844 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -55,6 +55,7 @@ struct RailVehicleInfo {
byte visual_effect; ///< Bitstuffed NewGRF visual effect data
byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor
byte tractive_effort; ///< Tractive effort coefficient
+ byte air_drag; ///< Coefficient of air drag
byte user_def_data; ///< Property 0x25: "User-defined bit mask" Used only for (very few) NewGRF vehicles
};
diff --git a/src/table/engines.h b/src/table/engines.h
index 5c47f6097..63c830ddf 100644
--- a/src/table/engines.h
+++ b/src/table/engines.h
@@ -363,7 +363,7 @@ static const EngineInfo _orig_engine_info[] = {
* @param k engclass
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
*/
-#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, {j}, d, e, f, g, h, k, i, 0, 0, 0, 0, 0, 76, 0 }
+#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, {j}, d, e, f, g, h, k, i, 0, 0, 0, 0, 0, 76, 0, 0 }
#define M RAILVEH_MULTIHEAD
#define W RAILVEH_WAGON
#define G RAILVEH_SINGLEHEAD