summaryrefslogtreecommitdiff
path: root/src/pathfinder/pathfinder_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/pathfinder_type.h')
-rw-r--r--src/pathfinder/pathfinder_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/pathfinder_type.h b/src/pathfinder/pathfinder_type.h
index 0bb3f2e5d..5943537c2 100644
--- a/src/pathfinder/pathfinder_type.h
+++ b/src/pathfinder/pathfinder_type.h
@@ -43,7 +43,7 @@ static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH;
*/
struct FindDepotData {
TileIndex tile; ///< The tile of the depot
- uint best_length; ///< The distance towards the depot, or UINT_MAX if not found
+ uint best_length; ///< The distance towards the depot in penalty, or UINT_MAX if not found
bool reverse; ///< True if reversing is necessary for the train to get to this depot
/**