src/vehicle_base.h
changeset 8674 6dc3d2a35da0
parent 8668 8860d9c43130
child 8732 b18f578f7c16
--- a/src/vehicle_base.h	Tue Jan 01 18:55:15 2008 +0000
+++ b/src/vehicle_base.h	Tue Jan 01 22:24:18 2008 +0000
@@ -81,6 +81,7 @@
 	/* cached values, recalculated on load and each time a vehicle is added to/removed from the consist. */
 	uint16 cached_max_speed;  // max speed of the consist. (minimum of the max speed of all vehicles in the consist)
 	uint32 cached_power;      // total power of the consist.
+	bool cached_tilt;         // train can tilt; feature provides a bonus in curves
 	uint8 cached_veh_length;  // length of this vehicle in units of 1/8 of normal length, cached because this can be set by a callback
 	uint16 cached_total_length; ///< Length of the whole train, valid only for first engine.