mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 18:09:09 +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 */
|
* tunnel and we're pathfinding backwards */
|
||||||
if (GetTunnelDirection(tile) == direction) {
|
if (GetTunnelDirection(tile) == direction) {
|
||||||
tile = SkipToEndOfTunnel(tpf, 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
|
/* We don't support moving through the sides of a tunnel
|
||||||
* entrance :-) */
|
* entrance :-) */
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user