- moved all 'sectorptr - &level.sectors[0]' constructs into a subfunction.
This commit is contained in:
parent
c02281a439
commit
91981e25a8
13 changed files with 23 additions and 30 deletions
|
|
@ -381,7 +381,7 @@ static void PrepareTransparentDoors(sector_t * sector)
|
|||
|
||||
static void AddToVertex(const sector_t * sec, TArray<int> & list)
|
||||
{
|
||||
int secno = int(sec-&level.sectors[0]);
|
||||
int secno = sec->Index();
|
||||
|
||||
for(unsigned i=0;i<list.Size();i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue