mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed: RemoveClipRange did not shorten the range if it had to split it up.
This commit is contained in:
parent
c9628e2034
commit
b00f197be3
1 changed files with 1 additions and 0 deletions
|
@ -630,6 +630,7 @@ void Clipper::RemoveClipRange(int start, int end)
|
|||
else if (node->start < start && node->end > end)
|
||||
{
|
||||
temp = NewRange(end, node->end, node->topclip, node->bottomclip);
|
||||
node->end = start;
|
||||
InsertRange(node, temp);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue