mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +00:00
- fixed: FMultiBlockLinesIterator must reset the current sector when doing the final up and downwards check from the start position.
This commit is contained in:
parent
8a03b99b9c
commit
b73d6e42af
1 changed files with 1 additions and 0 deletions
|
@ -833,6 +833,7 @@ bool FMultiBlockLinesIterator::Next(FMultiBlockLinesIterator::CheckResult *item)
|
|||
}
|
||||
if (onlast)
|
||||
{
|
||||
cursector = startsector;
|
||||
// We reached the end of the list. Check if we still need to check up- and downwards.
|
||||
if (GoUp(checkpoint.x, checkpoint.y) ||
|
||||
GoDown(checkpoint.x, checkpoint.y))
|
||||
|
|
Loading…
Reference in a new issue