mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- SW: fixed distance check in DoGet.
This commit is contained in:
parent
870801b8ac
commit
d2f0981091
1 changed files with 1 additions and 1 deletions
|
@ -5133,7 +5133,7 @@ int DoGet(DSWActor* actor)
|
|||
continue;
|
||||
|
||||
double dist = (pp->pos.XY() - actor->spr.pos).Length();
|
||||
if ((unsigned)dist > (plActor->user.fRadius() * 2))
|
||||
if ((unsigned)dist > (plActor->user.fRadius() + actor->user.fRadius()))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue