mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- fixed: The distance check in CheckIfCloser used the wrong variable.
This commit is contained in:
parent
4cc7d95ba5
commit
1d006b37c3
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ extend class Actor
|
|||
{
|
||||
if (!targ) return false;
|
||||
return
|
||||
(Distance2D(target) < dist && (noz ||
|
||||
(Distance2D(targ) < dist && (noz ||
|
||||
((pos.z > targ.pos.z && pos.z - targ.pos.z - targ.height < dist) ||
|
||||
(pos.z <= targ.pos.z && targ.pos.z - pos.z - height < dist)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue