mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- eliminated firstWall as well.
This commit is contained in:
parent
5798fa067f
commit
42e02d2956
23 changed files with 35 additions and 36 deletions
|
@ -125,7 +125,7 @@ DEFINE_ACTION_FUNCTION(DLevelPostProcessor, SplitSector)
|
|||
|
||||
if (sectornum < sector.Size())
|
||||
{
|
||||
unsigned sectstart = wallindex(sector[sectornum].firstWall());
|
||||
unsigned sectstart = wallindex(sector[sectornum].walls.Data());
|
||||
if (firstwall >= sectstart && firstwall < sectstart + sector[sectornum].walls.Size() &&
|
||||
secondwall >= sectstart && secondwall < sectstart + sector[sectornum].walls.Size())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue