mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r20006) -Fix: Trains should also have running cost while slowing down for stop.
This commit is contained in:
parent
e931399b31
commit
be5e880f0b
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue