summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-01 18:35:24 +0000
committerrubidium <rubidium@openttd.org>2009-09-01 18:35:24 +0000
commit2a9574ead22715ae933c194ae131f9e6a3490dd9 (patch)
tree80bb71d27f5c44bd8e2ca65b070d81fe5e800edd /src
parentad7d18e98ebe03acebbd47de3c5c097a9b54e353 (diff)
downloadopenttd-2a9574ead22715ae933c194ae131f9e6a3490dd9.tar.xz
(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
Diffstat (limited to 'src')
-rw-r--r--src/train_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index bfaccf2a3..80a88ef48 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -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;
}