(svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p).
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user