summaryrefslogtreecommitdiffstats
path: root/src/MobProximityCounter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MobProximityCounter.cpp')
-rw-r--r--src/MobProximityCounter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MobProximityCounter.cpp b/src/MobProximityCounter.cpp
index 82ba771ff..cfd52440b 100644
--- a/src/MobProximityCounter.cpp
+++ b/src/MobProximityCounter.cpp
@@ -50,7 +50,7 @@ cMobProximityCounter::sIterablePair cMobProximityCounter::getMobWithinThosesDist
a_DistanceMin *= a_DistanceMin;// this is because is use square distance
a_DistanceMax *= a_DistanceMax;
- if (m_DistanceToMonster.size() <= 0)
+ if (m_DistanceToMonster.empty())
{
convertMaps();
}