mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 15:40:58 +00:00
- fixed bad wall array access when handling a sector that got split up.
This commit is contained in:
parent
7b1d99373b
commit
e2061dbcc6
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ int BunchDrawer::ClipLine(int aline, bool portal)
|
|||
// Note: These walls may be excluded from the clipper, but not from being drawn!
|
||||
// if sectors got dragged around there may be overlaps which this code does not handle well do it may not run on such sectors.
|
||||
bool dontclip = false;
|
||||
if (sectStartAngle != -1 && !(wall[line].sectorp()->exflags & SECTOREX_DRAGGED))
|
||||
if (sectStartAngle != -1 && (sector[sections[section].sector].exflags & SECTOREX_DRAGGED))
|
||||
{
|
||||
if ((sectStartAngle > endAngle || sectEndAngle < startAngle))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue