diff options
author | mgueydan <gueydan.mathieuÃ@gmail.com> | 2013-09-08 12:20:19 +0200 |
---|---|---|
committer | mgueydan <gueydan.mathieuÃ@gmail.com> | 2013-09-08 12:20:19 +0200 |
commit | 5846be9400d26d198ddc3884a8e02c405748c6ad (patch) | |
tree | 86fc53b2a3149d4c8b775c3110f541be0a35cfe4 /source/MobProximityCounter.cpp | |
parent | removing an assert + correcting a distance calculation bug (diff) | |
download | cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.tar cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.tar.gz cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.tar.bz2 cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.tar.lz cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.tar.xz cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.tar.zst cuberite-5846be9400d26d198ddc3884a8e02c405748c6ad.zip |
Diffstat (limited to 'source/MobProximityCounter.cpp')
-rw-r--r-- | source/MobProximityCounter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/MobProximityCounter.cpp b/source/MobProximityCounter.cpp index e0b7f34cb..3c5ec9153 100644 --- a/source/MobProximityCounter.cpp +++ b/source/MobProximityCounter.cpp @@ -16,7 +16,7 @@ void cMobProximityCounter::CollectMob(cEntity& a_Monster, cChunk& a_Chunk, doubl std::pair<tMonsterToDistance::iterator,bool> result = m_MonsterToDistance.insert(tMonsterToDistance::value_type(&a_Monster,newDistanceAndChunck)); if (!result.second) { - ASSERT("A collected Monster was not found inside distance map using find(), but insert() said there already is a key for it"); + ASSERT(!"A collected Monster was not found inside distance map using find(), but insert() said there already is a key for it"); } } else |