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
commite310aef45f58763eacb41a692649329e051d06eb (patch)
treee85e547f670ea372096be6544c91b309b928cb80 /ship_cmd.c
parent6b0bbde53d72fc0e75c020acf9fcd435b231ac37 (diff)
downloadopenttd-e310aef45f58763eacb41a692649329e051d06eb.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;
}