summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index a0f4f8738..64f853d91 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -467,17 +467,12 @@ typedef struct {
uint best_length;
} PathFindShip;
-//extern void dbg_store_path();
-
static bool ShipTrackFollower(TileIndex tile, PathFindShip *pfs, int track, uint length, byte *state)
{
// Found dest?
if (tile == pfs->dest_coords) {
pfs->best_bird_dist = 0;
-// if (length < pfs->best_length)
-// dbg_store_path();
-
pfs->best_length = minu(pfs->best_length, length);
return true;
}