summaryrefslogtreecommitdiff
path: root/src/rail_gui.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-02-08 22:37:41 +0000
committerPeterN <peter@fuzzle.org>2019-02-08 23:23:41 +0000
commitd03cb80346dac780973744af35f5251c4cdeb138 (patch)
tree752f0c2b761c0ed358e5bd5991617fd552c2e2b9 /src/rail_gui.h
parent37bb2c930828260cd28365c8d96befea096bacd6 (diff)
downloadopenttd-d03cb80346dac780973744af35f5251c4cdeb138.tar.xz
Fix: trains cancelling their pending reversal when ordered to go to a depot behind them
Previously, if a train had been ordered to reverse, and while it was slowing down, was ordered to travel to a depot that is behind it, the train would continue forwards. Also when a train had been ordered to reverse, and while it was slowing down, was ordered to travel to a depot that is in front of it, the train would not cancel the reversal. In both cases the train would travel away from the target depot. Trains in this situation now behave correctly and will travel towards the depot.
Diffstat (limited to 'src/rail_gui.h')
0 files changed, 0 insertions, 0 deletions