mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- argument of BelowNear
This commit is contained in:
parent
9badd2e78b
commit
0d0326f8c1
1 changed files with 3 additions and 3 deletions
|
@ -282,9 +282,9 @@ void BuildNear(int x, int y, int walldist, int nSector)
|
|||
}
|
||||
}
|
||||
|
||||
int BelowNear(short nSprite)
|
||||
int BelowNear(DExhumedActor* pActor)
|
||||
{
|
||||
auto pSprite = &sprite[nSprite];
|
||||
auto pSprite = &pActor->s();
|
||||
short nSector = pSprite->sectnum;
|
||||
int z = pSprite->z;
|
||||
|
||||
|
@ -509,7 +509,7 @@ int movespritez(short nSprite, int z, int height, int, int clipdist)
|
|||
if (pSprite->statnum == 100)
|
||||
{
|
||||
BuildNear(pSprite->x, pSprite->y, clipdist + (clipdist / 2), pSprite->sectnum);
|
||||
nRet |= BelowNear(nSprite);
|
||||
nRet |= BelowNear(&exhumedActors[nSprite]);
|
||||
}
|
||||
|
||||
return nRet;
|
||||
|
|
Loading…
Reference in a new issue