mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
Remove needless check.
This commit is contained in:
parent
823edc4a69
commit
ced35e98fb
1 changed files with 1 additions and 1 deletions
|
@ -6036,7 +6036,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckProximity)
|
||||||
{
|
{
|
||||||
current = ref->AproxDistance(mo);
|
current = ref->AproxDistance(mo);
|
||||||
|
|
||||||
if ((flags & CPXF_CLOSEST) && ((current < closer) || !closer))
|
if ((flags & CPXF_CLOSEST) && (current < closer))
|
||||||
{
|
{
|
||||||
dist = mo;
|
dist = mo;
|
||||||
closer = current; //This actor's closer. Set the new standard.
|
closer = current; //This actor's closer. Set the new standard.
|
||||||
|
|
Loading…
Reference in a new issue