mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138).
This commit is contained in:
parent
a0a9a7f3cd
commit
02c54475fa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue