mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- FindDistance in DoExpDamageTest
This commit is contained in:
parent
e2fdb5fc02
commit
99b8457eb4
1 changed files with 1 additions and 1 deletions
|
@ -7278,7 +7278,7 @@ int DoExpDamageTest(DSWActor* actor)
|
|||
if ((unsigned)dist > actor->user.Radius)
|
||||
continue;
|
||||
|
||||
dist = FindDistance3D(itActor->int_pos().X - actor->int_pos().X, itActor->int_pos().Y - actor->int_pos().Y, int_ActorZOfMiddle(itActor) - actor->int_pos().Z);
|
||||
dist = (ActorVectOfMiddle(itActor) - actor->spr.pos).Length() * worldtoint;
|
||||
if ((unsigned)dist > actor->user.Radius)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue