mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-05 05:42:42 +00:00
(svn r17352) -Fix [FS#3162]: trains wouldn't show smoke if the load/unload counter wasn't 0, though there doesn't seem to be a reason to check that variable anyhow anymore
This commit is contained in:
parent
ad7d18e98e
commit
2a9574ead2
@ -2300,7 +2300,7 @@ static void HandleLocomotiveSmokeCloud(const Train *v)
|
|||||||
{
|
{
|
||||||
bool sound = false;
|
bool sound = false;
|
||||||
|
|
||||||
if ((v->vehstatus & VS_TRAIN_SLOWING) || v->load_unload_time_rem != 0 || v->cur_speed < 2) {
|
if ((v->vehstatus & VS_TRAIN_SLOWING) || v->cur_speed < 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user