mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- Replace spritetypebase
x
with pos.X
calls.
This commit is contained in:
parent
09e00a69fe
commit
33ca55023f
143 changed files with 1681 additions and 1681 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue