forked from mirror/OpenTTD
Doc: Fix spelling in comments.
This commit is contained in:
committed by
Niels Martin Hansen
parent
c304aa50e9
commit
effb7da5b4
@@ -20,8 +20,8 @@ static const int NPF_TILE_LENGTH = 100;
|
|||||||
/**
|
/**
|
||||||
* This penalty is the equivalent of "infinite", which means that paths that
|
* 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
|
* 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
|
* without it. Be careful with not applying this penalty too often, or the
|
||||||
* total path cost might overflow..
|
* total path cost might overflow.
|
||||||
*/
|
*/
|
||||||
static const int NPF_INFINITE_PENALTY = 1000 * NPF_TILE_LENGTH;
|
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
|
* 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
|
* 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
|
* without it. Be careful with not applying this penalty too often, or the
|
||||||
* total path cost might overflow..
|
* total path cost might overflow.
|
||||||
*/
|
*/
|
||||||
static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH;
|
static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user