Open mwenko opened 1 year ago
Currently a maxDistance of 0 is not allowed.
maxDistance
0
The if(maxDistance) condition will always evaluate to false when a maxDistance of 0 is specified.
if(maxDistance)
false
This change allows a maxDistance of 0.
Currently a
maxDistance
of0
is not allowed.The
if(maxDistance)
condition will always evaluate tofalse
when amaxDistance
of0
is specified.This change allows a
maxDistance
of 0.