mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- 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
|
@ -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.
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue