summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-26 07:12:14 +0000
committertron <tron@openttd.org>2005-10-26 07:12:14 +0000
commit203726ed34b30001995515c2ac924ab14d862b1c (patch)
treee85e547f670ea372096be6544c91b309b928cb80 /ship_cmd.c
parentb97473e874e133b86817a5f0b59624f977a32e50 (diff)
downloadopenttd-203726ed34b30001995515c2ac924ab14d862b1c.tar.xz
(svn r3090) Remove long dead pieces of code
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;
}