1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-24 04:34:16 +01: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:
rubidium
2009-09-01 18:35:24 +00:00
parent ad7d18e98e
commit 2a9574ead2

View File

@@ -2300,7 +2300,7 @@ static void HandleLocomotiveSmokeCloud(const Train *v)
{
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;
}