mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Fix articulated trams decoupling when turning around
In the case where the front of the tram starts turning due to a non-waitable dead-end, and before the next vehicle part can turn the dead-end is removed.
This commit is contained in:
parent
a4338ee97f
commit
987e752cee
@ -1245,7 +1245,7 @@ again:
|
||||
return false;
|
||||
}
|
||||
};
|
||||
if ((v->Previous() != NULL && v->Previous()->tile == tile) || tile_turn_ok()) {
|
||||
if ((v->Previous() != NULL && v->Previous()->tile == tile) || (v->IsFrontEngine() && tile_turn_ok())) {
|
||||
/*
|
||||
* Taking the 'big' corner for trams only happens when:
|
||||
* - The previous vehicle in this (articulated) tram chain is
|
||||
|
Loading…
Reference in New Issue
Block a user