mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 16:54:42 +00:00
Doc: Fix spelling in comments.
This commit is contained in:
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
|
||||
* 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user