mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- final cleanup of sectnum related stuff.
Made sure that remaining uses of sector indices are safe to be kept and deleted a few redundant functions.
This commit is contained in:
parent
6d432fca0a
commit
838bed7800
10 changed files with 38 additions and 63 deletions
|
@ -59,7 +59,7 @@ void hw_BuildSections()
|
|||
{
|
||||
// Fix maps which do not set their wallptr to the first wall. Lo Wang In Time's map 11 is such a case.
|
||||
int wp = sector[i].wallptr;
|
||||
while (wp > 0 && wall[wp - 1].nextwall >= 0 && wall[wall[wp - 1].nextwall].nextsector == i)
|
||||
while (wp > 0 && wall[wp - 1].nextwall >= 0 && wall[wp - 1].nextWall()->nextsector == i)
|
||||
{
|
||||
sector[i].wallptr--;
|
||||
sector[i].wallnum++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue