- Replace spritetypebase y with pos.Y calls.

This commit is contained in:
Mitchell Richters 2021-12-22 22:17:17 +11:00 committed by Christoph Oelckers
parent 33ca55023f
commit cecb8dc48e
143 changed files with 1651 additions and 1651 deletions

View file

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