- 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:
Randy Heit 2006-09-23 02:48:39 +00:00
parent bbfc149bd7
commit 3deb4e631e
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
September 22, 2006
- Fixed: FNodeBuilder::ShoveSegBehind needs to check that the result from
Heuristic is positive, not just non-zero.
September 20, 2006 (Changes by Graf Zahl)
- Fixed: Summoned friendly monsters added to the total kill count.

View file

@ -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