diff options
Diffstat (limited to 'ai/trolly')
-rw-r--r-- | ai/trolly/pathfinder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/trolly/pathfinder.c b/ai/trolly/pathfinder.c index 241744afd..79ea878c3 100644 --- a/ai/trolly/pathfinder.c +++ b/ai/trolly/pathfinder.c @@ -234,7 +234,7 @@ static void AyStar_AiPathFinder_GetNeighbours(AyStar *aystar, OpenListNode *curr if (IsTunnel(atile)) { if (GetTunnelDirection(atile) != i) continue; } else { - if (GetBridgeRampDirection(atile) != i) continue; + if ((_m[atile].m5 & 1U) != DiagDirToAxis(i)) continue; } } } |