diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 19:13:23 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 19:13:23 +0200 |
commit | 7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4 (patch) | |
tree | 54a0e32d887554b1131c8c9123027f16a7faf5d8 /src/MobProximityCounter.cpp | |
parent | Fixed basic whitespace problems. (diff) | |
download | cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.gz cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.bz2 cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.lz cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.xz cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.zst cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.zip |
Diffstat (limited to 'src/MobProximityCounter.cpp')
-rw-r--r-- | src/MobProximityCounter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MobProximityCounter.cpp b/src/MobProximityCounter.cpp index 35bf57380..a89fa72df 100644 --- a/src/MobProximityCounter.cpp +++ b/src/MobProximityCounter.cpp @@ -61,7 +61,7 @@ cMobProximityCounter::sIterablePair cMobProximityCounter::getMobWithinThosesDist { if ((a_DistanceMin == 1) || (itr->first > a_DistanceMin)) { - toReturn.m_Begin = itr; // this is the first one with distance > a_DistanceMin; + toReturn.m_Begin = itr; // This is the first one with distance > a_DistanceMin; } } @@ -69,7 +69,7 @@ cMobProximityCounter::sIterablePair cMobProximityCounter::getMobWithinThosesDist { if ((a_DistanceMax != 1) && (itr->first > a_DistanceMax)) { - toReturn.m_End = itr; // this is just after the last one with distance < a_DistanceMax + toReturn.m_End = itr; // This is just after the last one with distance < a_DistanceMax // Note : if we are not going through this, it's ok, toReturn.m_End will be end(); break; } |