mirror of https://github.com/OpenTTD/OpenTTD
(svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p).
parent
208e40a839
commit
411985b13a
|
@ -2026,7 +2026,6 @@ static void HandleLocomotiveSmokeCloud(const Vehicle* v)
|
||||||
/* no smoke? */
|
/* no smoke? */
|
||||||
if ((rvi->railveh_type == RAILVEH_WAGON && effect_type == 0) ||
|
if ((rvi->railveh_type == RAILVEH_WAGON && effect_type == 0) ||
|
||||||
disable_effect ||
|
disable_effect ||
|
||||||
rvi->railtype > RAILTYPE_ELECTRIC ||
|
|
||||||
v->vehstatus & VS_HIDDEN) {
|
v->vehstatus & VS_HIDDEN) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue