- Replace spritetypebase x with pos.X calls.

This commit is contained in:
Mitchell Richters 2021-12-22 21:57:10 +11:00 committed by Christoph Oelckers
parent 09e00a69fe
commit 33ca55023f
143 changed files with 1681 additions and 1681 deletions

View file

@ -354,7 +354,7 @@ int DoRotator(DSWActor* actor)
auto itsp = &itActor->s();
if (itsp->lotag == sp->lotag)
{
dist = Distance(sp->x, sp->y, itsp->x, itsp->y);
dist = Distance(sp->pos.X, sp->y, itsp->pos.X, itsp->y);
if (dist < closest)
{
closest = dist;