mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- avoid pointer arithmetic in feebtag.
This commit is contained in:
parent
951b93123a
commit
892c361449
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ void feebtag(int x, int y, int z, sectortype* pSector, DExhumedActor **nSprite,
|
|||
{
|
||||
*nSprite = nullptr;
|
||||
|
||||
auto startwall = pSector->firstWall();
|
||||
int startwall = pSector->wallptr;
|
||||
|
||||
int nWalls = pSector->wallnum;
|
||||
|
||||
|
@ -162,7 +162,7 @@ void feebtag(int x, int y, int z, sectortype* pSector, DExhumedActor **nSprite,
|
|||
if (nWalls < -1)
|
||||
return;
|
||||
|
||||
pSector = startwall->nextSector();
|
||||
pSector = wall[startwall].nextSector();
|
||||
startwall++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue