summaryrefslogtreecommitdiff
path: root/src/pathfinder
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-05-09 19:02:17 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-15 10:16:48 +0200
commit44ca7d93773fb816da6d353c9cde6ab14dae993a (patch)
tree2fc9399acaa114dd399eafb995d0dee8b516d18d /src/pathfinder
parentddaedaf32a1981dcd93cafee0cae879f96207fe4 (diff)
downloadopenttd-44ca7d93773fb816da6d353c9cde6ab14dae993a.tar.xz
Change: Use gender-neutral pronouns
Diffstat (limited to 'src/pathfinder')
-rw-r--r--src/pathfinder/npf/aystar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/npf/aystar.cpp b/src/pathfinder/npf/aystar.cpp
index b14053b7c..163d7859e 100644
--- a/src/pathfinder/npf/aystar.cpp
+++ b/src/pathfinder/npf/aystar.cpp
@@ -144,14 +144,14 @@ void AyStar::CheckTile(AyStarNode *current, OpenListNode *parent)
/* Re-add it in the openlist_queue. */
this->openlist_queue.Push(check, new_f);
} else {
- /* A new node, add him to the OpenList */
+ /* A new node, add it to the OpenList */
this->OpenListAdd(closedlist_parent, current, new_f, new_g);
}
}
/**
* This function is the core of %AyStar. It handles one item and checks
- * his neighbour items. If they are valid, they are added to be checked too.
+ * its neighbour items. If they are valid, they are added to be checked too.
* @return Possible values:
* - #AYSTAR_EMPTY_OPENLIST : indicates all items are tested, and no path has been found.
* - #AYSTAR_LIMIT_REACHED : Indicates that the max_search_nodes limit has been reached.