aystar.c
changeset 2916 b687477adcba
parent 2186 db48cf29b983
child 3900 2c84ed52709d
equal deleted inserted replaced
2915:e08f661f1b8e 2916:b687477adcba
   230 	else if (r == AYSTAR_EMPTY_OPENLIST)
   230 	else if (r == AYSTAR_EMPTY_OPENLIST)
   231 		printf("[AyStar] OpenList run dry, no path found\n");
   231 		printf("[AyStar] OpenList run dry, no path found\n");
   232 	else if (r == AYSTAR_LIMIT_REACHED)
   232 	else if (r == AYSTAR_LIMIT_REACHED)
   233 		printf("[AyStar] Exceeded search_nodes, no path found\n");
   233 		printf("[AyStar] Exceeded search_nodes, no path found\n");
   234 #endif
   234 #endif
   235 
       
   236 	if (aystar->BeforeExit != NULL)
       
   237 		aystar->BeforeExit(aystar);
       
   238 
       
   239 	if (r != AYSTAR_STILL_BUSY)
   235 	if (r != AYSTAR_STILL_BUSY)
   240 		/* We're done, clean up */
   236 		/* We're done, clean up */
   241 		aystar->clear(aystar);
   237 		aystar->clear(aystar);
   242 
   238 
   243 	// Check result-value
   239 	// Check result-value