ship_cmd.c
changeset 5380 8ea58542b6e0
parent 5259 9d7de9a6b364
equal deleted inserted replaced
5379:929378a0014f 5380:8ea58542b6e0
   503 {
   503 {
   504 
   504 
   505 	void* perf = NpfBeginInterval();
   505 	void* perf = NpfBeginInterval();
   506 	NPFFoundTargetData ret = NPFRouteToStationOrTile(tile, trackdir, target, type, owner, railtypes);
   506 	NPFFoundTargetData ret = NPFRouteToStationOrTile(tile, trackdir, target, type, owner, railtypes);
   507 	int t = NpfEndInterval(perf);
   507 	int t = NpfEndInterval(perf);
   508 	DEBUG(yapf, 4)("[YAPF][NPFW] %d us - %d rounds - %d open - %d closed -- ", t, 0, _aystar_stats_open_size, _aystar_stats_closed_size);
   508 	DEBUG(yapf, 4, "[NPFW] %d us - %d rounds - %d open - %d closed -- ", t, 0, _aystar_stats_open_size, _aystar_stats_closed_size);
   509 	return ret;
   509 	return ret;
   510 }
   510 }
   511 
   511 
   512 /* returns the track to choose on the next tile, or -1 when it's better to
   512 /* returns the track to choose on the next tile, or -1 when it's better to
   513  * reverse. The tile given is the tile we are about to enter, enterdir is the
   513  * reverse. The tile given is the tile we are about to enter, enterdir is the