1
0
Fork 0

(svn r4333) Revert back to a direct map access in one case until the exact conditions for this piece of code are investigated. The IsRoad() function is causing me headaches...

release/0.5
tron 2006-04-09 10:24:57 +00:00
parent 8111eca43e
commit 0a509a4c48
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}
}