mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- more work on the new section creator.
This commit is contained in:
parent
b1bf12df9d
commit
a255e90c96
4 changed files with 55 additions and 24 deletions
|
@ -77,7 +77,11 @@ void hw_BuildSections()
|
|||
sectionLines[i].partner = wal.nextwall;
|
||||
sectionLines[i].section = wal.sector;
|
||||
sectionLines[i].partnersection = wal.nextsector;
|
||||
sectionLines[i].point2index = wal.point2 - wal.sectorp()->wallptr;
|
||||
sectionLines[i].point2index = 0;
|
||||
if (wal.sector == -1)
|
||||
Printf("Warning: Wall %d without a sector!\n", wall.IndexOf(&wal));
|
||||
else
|
||||
sectionLines[i].point2index = wal.point2 - wal.sectorp()->wallptr;
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < splits.Size(); i += 3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue