summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-06 19:58:34 +0000
committerrubidium <rubidium@openttd.org>2007-05-06 19:58:34 +0000
commit411985b13a96e3c7a0ea32c7a4e5e4101be1988b (patch)
treef8c3d39e65644cf0d718f15ce133fc848ce8e7ee
parent208e40a839699181ad319a90fc0cffaa850fe6e0 (diff)
downloadopenttd-411985b13a96e3c7a0ea32c7a4e5e4101be1988b.tar.xz
(svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p).
-rw-r--r--src/train_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 2e9911aa4..17d66d505 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -2026,7 +2026,6 @@ static void HandleLocomotiveSmokeCloud(const Vehicle* v)
/* no smoke? */
if ((rvi->railveh_type == RAILVEH_WAGON && effect_type == 0) ||
disable_effect ||
- rvi->railtype > RAILTYPE_ELECTRIC ||
v->vehstatus & VS_HIDDEN) {
continue;
}