mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed: The polyobject init specials must be cleared after Polyobject initialization is done, because they can block usage of regular lines colinear with the polyobject
This commit is contained in:
parent
87d2991256
commit
28604bad62
1 changed files with 8 additions and 1 deletions
|
@ -1773,7 +1773,14 @@ void PO_Init (void)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// clear all polyobj specials so that they do not obstruct using other lines.
|
||||
for (int i = 0; i < numlines; i++)
|
||||
{
|
||||
if (lines[i].special == Polyobj_ExplicitLine || lines[i].special == Polyobj_StartLine)
|
||||
{
|
||||
lines[i].special = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue