summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ0an Josep <juanjo.ng.83@gmail.com>2019-01-04 02:14:40 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-01-06 16:47:45 +0100
commiteffb7da5b478fea198b342690d0f5aac8f562ee6 (patch)
tree4eddac898cdad3af201aa6c03ad7dce37b7aa4a9
parentc304aa50e9f3fb67a0f661edcf9bc69b426ea7b7 (diff)
downloadopenttd-effb7da5b478fea198b342690d0f5aac8f562ee6.tar.xz
Doc: Fix spelling in comments.
-rw-r--r--src/pathfinder/pathfinder_type.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pathfinder/pathfinder_type.h b/src/pathfinder/pathfinder_type.h
index 9f5a42d76..73031d5c8 100644
--- a/src/pathfinder/pathfinder_type.h
+++ b/src/pathfinder/pathfinder_type.h
@@ -20,8 +20,8 @@ static const int NPF_TILE_LENGTH = 100;
/**
* This penalty is the equivalent of "infinite", which means that paths that
* get this penalty will be chosen, but only if there is no other route
- * without it. Be careful with not applying this penalty to often, or the
- * total path cost might overflow..
+ * without it. Be careful with not applying this penalty too often, or the
+ * total path cost might overflow.
*/
static const int NPF_INFINITE_PENALTY = 1000 * NPF_TILE_LENGTH;
@@ -35,8 +35,8 @@ static const int YAPF_TILE_CORNER_LENGTH = 71;
/**
* This penalty is the equivalent of "infinite", which means that paths that
* get this penalty will be chosen, but only if there is no other route
- * without it. Be careful with not applying this penalty to often, or the
- * total path cost might overflow..
+ * without it. Be careful with not applying this penalty too often, or the
+ * total path cost might overflow.
*/
static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH;