1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

(svn r20006) -Fix: Trains should also have running cost while slowing down for stop.

This commit is contained in:
frosch
2010-06-21 17:36:46 +00:00
parent e931399b31
commit be5e880f0b

View File

@@ -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++;