mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 15:09:10 +00:00
(svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138).
This commit is contained in:
@@ -339,7 +339,7 @@ static void TPFMode1(TrackPathFinder* tpf, TileIndex tile, DiagDirection directi
|
||||
* tunnel and we're pathfinding backwards */
|
||||
if (GetTunnelDirection(tile) == direction) {
|
||||
tile = SkipToEndOfTunnel(tpf, tile, direction);
|
||||
} if (GetTunnelDirection(tile) != ReverseDiagDir(direction)) {
|
||||
} else if (GetTunnelDirection(tile) != ReverseDiagDir(direction)) {
|
||||
/* We don't support moving through the sides of a tunnel
|
||||
* entrance :-) */
|
||||
return;
|
||||
|
Reference in New Issue
Block a user