diff options
Diffstat (limited to 'src/pathfinder/yapf')
-rw-r--r-- | src/pathfinder/yapf/yapf_base.hpp | 4 | ||||
-rw-r--r-- | src/pathfinder/yapf/yapf_costbase.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pathfinder/yapf/yapf_base.hpp b/src/pathfinder/yapf/yapf_base.hpp index 4702c9451..f63dcf04a 100644 --- a/src/pathfinder/yapf/yapf_base.hpp +++ b/src/pathfinder/yapf/yapf_base.hpp @@ -34,8 +34,8 @@ extern int _total_pf_time_us; * you need to declare only your node type. Look at test_yapf.h for an example. * * - * Requrements to your pathfinder class derived from CYapfBaseT: - * ------------------------------------------------------------- + * Requirements to your pathfinder class derived from CYapfBaseT: + * -------------------------------------------------------------- * Your pathfinder derived class needs to implement following methods: * inline void PfSetStartupNodes() * inline void PfFollowNode(Node& org) diff --git a/src/pathfinder/yapf/yapf_costbase.hpp b/src/pathfinder/yapf/yapf_costbase.hpp index 316d1476c..6b55585a8 100644 --- a/src/pathfinder/yapf/yapf_costbase.hpp +++ b/src/pathfinder/yapf/yapf_costbase.hpp @@ -15,7 +15,7 @@ /** Base implementation for cost accounting. */ struct CYapfCostBase { /** - * Does the given track direction on the given tile yeild an uphill penalty? + * Does the given track direction on the given tile yield an uphill penalty? * @param tile The tile to check. * @param td The track direction to check. * @return True if there's a slope, otherwise false. |