This commit is contained in:
mark 2009-06-28 03:36:42 +00:00
parent c63a5f13fa
commit 2204d5fb86
86 changed files with 1077 additions and 257 deletions

View file

@ -149,8 +149,8 @@ namespace Server
{
alg = FastAStarAlgorithm.Instance;
if ( !alg.CheckCondition( m, map, start, goal ) )
alg = SlowAStarAlgorithm.Instance;
//if ( !alg.CheckCondition( m, map, start, goal ) ) // SlowAstar is still broken
// alg = SlowAStarAlgorithm.Instance; // TODO: Fix SlowAstar
}
if ( alg != null && alg.CheckCondition( m, map, start, goal ) )