(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...

pull/155/head
tron 19 years ago
parent 40c1097f04
commit df0b45d608

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

Loading…
Cancel
Save