- renamed HitInfo::hitpos

This commit is contained in:
Christoph Oelckers 2022-08-17 00:50:50 +02:00
parent 086c699df0
commit 296b5d7edd
31 changed files with 256 additions and 256 deletions

View file

@ -52,8 +52,8 @@ bool calcChaseCamPos(int* px, int* py, int* pz, DCoreActor* act, sectortype** ps
hitscan({ *px, *py, *pz }, *psect, np, hitinfo, CLIPMASK1);
act->spr.cstat = bakcstat;
int hx = hitinfo.hitpos.X - *px;
int hy = hitinfo.hitpos.Y - *py;
int hx = hitinfo.__int_hitpos.X - *px;
int hy = hitinfo.__int_hitpos.Y - *py;
if (*psect == nullptr)
{