diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 16:33:09 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 16:33:09 +0200 |
commit | 993fd14ddfc881cf5be951df77da0338124d68cc (patch) | |
tree | 828cd0c784698ca4533aeaf2592d9fed75fe55a3 /src/MobProximityCounter.h | |
parent | Merge pull request #1183 from Howaner/Sounds (diff) | |
download | cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.tar cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.tar.gz cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.tar.bz2 cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.tar.lz cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.tar.xz cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.tar.zst cuberite-993fd14ddfc881cf5be951df77da0338124d68cc.zip |
Diffstat (limited to 'src/MobProximityCounter.h')
-rw-r--r-- | src/MobProximityCounter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MobProximityCounter.h b/src/MobProximityCounter.h index 79429eb60..cadfc48ae 100644 --- a/src/MobProximityCounter.h +++ b/src/MobProximityCounter.h @@ -27,11 +27,11 @@ protected : cChunk& m_Chunk; }; -public : +public : typedef std::map<cEntity*,sDistanceAndChunk> tMonsterToDistance; typedef std::multimap<double,sMonsterAndChunk> tDistanceToMonster; -protected : +protected : // this map is filled during collection phase, it will be later transformed into DistanceToMonster tMonsterToDistance m_MonsterToDistance; @@ -41,7 +41,7 @@ protected : // this are the collected chunks. Used to determinate the number of elligible chunk for spawning. std::set<cChunk*> m_EligibleForSpawnChunks; -protected : +protected : // transform monsterToDistance map (that was usefull for collecting) into distanceToMonster // that will be usefull for picking up. void convertMaps(); |