mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 11:44:17 +01:00
(svn r24075) [1.2] -Backport from trunk:
- Fix: Reversing trains while they were entering or leaving a depot could lead to stuck trains [FS#5093] (r24071) - Fix: The 'last joined' server was not properly selected anymore [FS#5098] (r24070) - Fix: Immediately start querying the last joined server instead of waiting for the requery loop [FS#5097] (r24069, r24062) - Fix: Make the full snowedness level of houses the same as roads and rails [FS#5121] (r24064)
This commit is contained in:
@@ -369,7 +369,8 @@ Train *GetTrainForReservation(TileIndex tile, Track track)
|
||||
*/
|
||||
bool IsSafeWaitingPosition(const Train *v, TileIndex tile, Trackdir trackdir, bool include_line_end, bool forbid_90deg)
|
||||
{
|
||||
if (IsRailDepotTile(tile)) return true;
|
||||
/* A depot is safe if we enter it, but not when we exit. */
|
||||
if (IsRailDepotTile(tile) && TrackdirToExitdir(trackdir) != GetRailDepotDirection(tile)) return true;
|
||||
|
||||
if (IsTileType(tile, MP_RAILWAY)) {
|
||||
/* For non-pbs signals, stop on the signal tile. */
|
||||
|
||||
Reference in New Issue
Block a user