mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 07:51:28 +00:00
- Fixed crash with Scroll_Texture_Offsets with non-zero tag
This commit is contained in:
parent
2945e10a0e
commit
f02060f822
1 changed files with 2 additions and 2 deletions
|
@ -1414,9 +1414,9 @@ void MapLoader::SpawnScrollers()
|
|||
else
|
||||
{
|
||||
auto it = Level->GetLineIdIterator(l->args[1]);
|
||||
while (int ln = it.Next())
|
||||
while ((s = it.Next()) >= 0)
|
||||
{
|
||||
Level->CreateThinker<DScroller>(EScroll::sc_side, dx, dy, control, nullptr, Level->lines[ln].sidedef[0], accel, SCROLLTYPE(l->args[0]));
|
||||
Level->CreateThinker<DScroller>(EScroll::sc_side, dx, dy, control, nullptr, Level->lines[s].sidedef[0], accel, SCROLLTYPE(l->args[0]));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue