From be5e880f0b16fcef7da27d5b6570d11200e9b5fe Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 21 Jun 2010 17:36:46 +0000 Subject: (svn r20006) -Fix: Trains should also have running cost while slowing down for stop. --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 0edfa8314..3e5020561 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3955,7 +3955,7 @@ bool Train::Tick() this->tick_counter++; if (this->IsFrontEngine()) { - if (!(this->vehstatus & VS_STOPPED)) this->running_ticks++; + if (!(this->vehstatus & VS_STOPPED) || this->cur_speed > 0) this->running_ticks++; this->current_order_time++; -- cgit v1.2.3-54-g00ecf