summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-05-09 18:13:36 +0000
committersmatz <smatz@openttd.org>2010-05-09 18:13:36 +0000
commit3f961ca671cb81f42330cfd81b2565d11f3c794d (patch)
tree3cf63f5c985ff3f56ceecee3ac3592d2ccc443c7 /src/pathfinder/npf
parent2eaca9e108cf57ca6ab75c28742754289264d539 (diff)
downloadopenttd-3f961ca671cb81f42330cfd81b2565d11f3c794d.tar.xz
(svn r19775) -Fix: improper use of 'then' in few comments (ln)
Diffstat (limited to 'src/pathfinder/npf')
-rw-r--r--src/pathfinder/npf/queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/npf/queue.cpp b/src/pathfinder/npf/queue.cpp
index a954876a6..d4850a0fc 100644
--- a/src/pathfinder/npf/queue.cpp
+++ b/src/pathfinder/npf/queue.cpp
@@ -183,7 +183,7 @@ static bool BinaryHeap_Push(Queue *q, void *item, int priority)
while (i > 1) {
/* Get the parent of this object (divide by 2) */
j = i / 2;
- /* Is the parent bigger then the current, switch them */
+ /* Is the parent bigger than the current, switch them */
if (BIN_HEAP_ARR(i).priority <= BIN_HEAP_ARR(j).priority) {
temp = BIN_HEAP_ARR(j);
BIN_HEAP_ARR(j) = BIN_HEAP_ARR(i);