summaryrefslogtreecommitdiff
path: root/src/linkgraph
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-10-22 16:19:31 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-10-22 16:19:31 +0000
commit2f9c48b85946d6f03a4a9fc6e9499af7b3e05f2f (patch)
tree268190cc923571bb17d5ad05fc2e6075c36b0698 /src/linkgraph
parentbd230f34f415c6c89b40e504c8a56e1bca29ac2e (diff)
downloadopenttd-2f9c48b85946d6f03a4a9fc6e9499af7b3e05f2f.tar.xz
(svn r25901) -Fix [FS#5675]: Check if any vehicles are still serving a link before deleting it.
Diffstat (limited to 'src/linkgraph')
-rw-r--r--src/linkgraph/linkgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linkgraph/linkgraph.h b/src/linkgraph/linkgraph.h
index cad557e19..811a955e5 100644
--- a/src/linkgraph/linkgraph.h
+++ b/src/linkgraph/linkgraph.h
@@ -446,7 +446,7 @@ public:
typedef SmallMatrix<BaseEdge> EdgeMatrix;
/** Minimum effective distance for timeout calculation. */
- static const uint MIN_TIMEOUT_DISTANCE = 48;
+ static const uint MIN_TIMEOUT_DISTANCE = 32;
/** Minimum number of days between subsequent compressions of a LG. */
static const uint COMPRESSION_INTERVAL = 256;