mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
Allow trains to reverse in station when front is in a bridge/tunnel
This commit is contained in:
parent
f64cb4048e
commit
7ae2aa93ea
@ -3282,7 +3282,7 @@ bool TryPathReserve(Train *v, bool mark_as_stuck, bool first_tile_okay)
|
|||||||
static bool CheckReverseTrain(const Train *v)
|
static bool CheckReverseTrain(const Train *v)
|
||||||
{
|
{
|
||||||
if (_settings_game.difficulty.line_reverse_mode != 0 ||
|
if (_settings_game.difficulty.line_reverse_mode != 0 ||
|
||||||
v->track == TRACK_BIT_DEPOT || v->track & TRACK_BIT_WORMHOLE) {
|
v->track == TRACK_BIT_DEPOT) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user