Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 20, 2018
1 parent b14fdc8 commit 150ded6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pathfind/pathfind.cpp
Expand Up @@ -182,7 +182,7 @@ namespace {
// Compare these nodes based on movement consumed.
bool operator<(const findroute_node& o) const
{
return std::tie(turns_left, moves_left) < std::tie(o.turns_left, o.moves_left);
return std::tie(turns_left, moves_left) > std::tie(o.turns_left, o.moves_left);
}
};

Expand Down

0 comments on commit 150ded6

Please sign in to comment.