summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-18 14:03:12 +0000
committerrubidium <rubidium@openttd.org>2010-11-18 14:03:12 +0000
commit79c47ef8b06e98e551c28c768541ba62851d6888 (patch)
treeb13a5f83bc79512ce522393aa414534f4e8a3786 /src/train.h
parent5a503d505b8e1df6dea8ad78da6003c269ec397c (diff)
downloadopenttd-79c47ef8b06e98e551c28c768541ba62851d6888.tar.xz
(svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo)
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/train.h b/src/train.h
index d407c48ee..590af67e3 100644
--- a/src/train.h
+++ b/src/train.h
@@ -78,14 +78,6 @@ struct TrainCache {
/* cached max. speed / acceleration data */
int cached_max_curve_speed; ///< max consist speed limited by curves
- /**
- * Position/type of visual effect.
- * bit 0 - 3 = position of effect relative to vehicle. (0 = front, 8 = centre, 15 = rear)
- * bit 4 - 5 = type of effect. (0 = default for engine class, 1 = steam, 2 = diesel, 3 = electric)
- * bit 6 = disable visual effect.
- * bit 7 = disable powered wagons.
- */
- byte cached_vis_effect;
byte user_def_data;
EngineID first_engine; ///< cached EngineID of the front vehicle. INVALID_ENGINE for the front vehicle itself.