mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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);
|
||||
|
||||
if ((flags & CPXF_CLOSEST) && ((current < closer) || !closer))
|
||||
if ((flags & CPXF_CLOSEST) && (current < closer))
|
||||
{
|
||||
dist = mo;
|
||||
closer = current; //This actor's closer. Set the new standard.
|
||||
|
|
Loading…
Reference in a new issue