- Fixed: FNodeBuilder::ShoveSegBehind needs to check that the result from
Heuristic is positive, not just non-zero. SVN r336 (trunk)
This commit is contained in:
parent
bbfc149bd7
commit
3deb4e631e
2 changed files with 5 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ bool FNodeBuilder::ShoveSegBehind (DWORD set, node_t &node, DWORD seg, DWORD mat
|
|||
node.dx = -node.dx;
|
||||
node.dy = -node.dy;
|
||||
}
|
||||
return Heuristic (node, set, false) != 0;
|
||||
return Heuristic (node, set, false) > 0;
|
||||
}
|
||||
|
||||
// Splitters are chosen to coincide with segs in the given set. To reduce the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue