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