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:
@@ -1245,7 +1245,7 @@ again:
|
|||||||
return false;
|
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:
|
* Taking the 'big' corner for trams only happens when:
|
||||||
* - The previous vehicle in this (articulated) tram chain is
|
* - The previous vehicle in this (articulated) tram chain is
|
||||||
|
Reference in New Issue
Block a user