Remove needless check.

This commit is contained in:
MajorCooke 2016-01-25 10:07:00 -06:00
parent 823edc4a69
commit ced35e98fb
1 changed files with 1 additions and 1 deletions

View File

@ -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.