mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 11:31:41 +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)
|
if (onlast)
|
||||||
{
|
{
|
||||||
|
cursector = startsector;
|
||||||
// We reached the end of the list. Check if we still need to check up- and downwards.
|
// We reached the end of the list. Check if we still need to check up- and downwards.
|
||||||
if (GoUp(checkpoint.x, checkpoint.y) ||
|
if (GoUp(checkpoint.x, checkpoint.y) ||
|
||||||
GoDown(checkpoint.x, checkpoint.y))
|
GoDown(checkpoint.x, checkpoint.y))
|
||||||
|
|
Loading…
Reference in a new issue