mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
Don't mark train stuck if no reachable track in TryPathReserve
This commit is contained in:
parent
628077d0bb
commit
62fffddb3f
@ -4181,8 +4181,6 @@ bool TryPathReserve(Train *v, bool mark_as_stuck, bool first_tile_okay)
|
||||
bool res_made = false;
|
||||
if (reachable != TRACK_BIT_NONE) {
|
||||
ChooseTrainTrack(v, new_tile, exitdir, reachable, true, &res_made, mark_as_stuck);
|
||||
} else if (mark_as_stuck) {
|
||||
MarkTrainAsStuck(v, true);
|
||||
}
|
||||
|
||||
if (!res_made) {
|
||||
|
Loading…
Reference in New Issue
Block a user