diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-04-27 15:46:13 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-04-27 15:46:13 +0200 |
commit | e3bdc81ca04fbad284eb0c3b53678f0fb357eb64 (patch) | |
tree | 459c54a8783c44cf386a78561b33da4663c376cc /src/MobProximityCounter.h | |
parent | Fixed bad merge (diff) | |
download | cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.tar cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.tar.gz cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.tar.bz2 cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.tar.lz cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.tar.xz cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.tar.zst cuberite-e3bdc81ca04fbad284eb0c3b53678f0fb357eb64.zip |
Diffstat (limited to '')
-rw-r--r-- | src/MobProximityCounter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MobProximityCounter.h b/src/MobProximityCounter.h index 8a67139aa..79429eb60 100644 --- a/src/MobProximityCounter.h +++ b/src/MobProximityCounter.h @@ -16,9 +16,9 @@ protected : // structs used for later maps (see m_MonsterToDistance and m_DistanceToMonster) struct sDistanceAndChunk { - sDistanceAndChunk(double a_Distance, cChunk& a_Chunk) : m_Distance(a_Distance), m_Chunk(a_Chunk) {} + sDistanceAndChunk(double a_Distance, cChunk& a_Chunk) : m_Distance(a_Distance), m_Chunk(&a_Chunk) {} double m_Distance; - cChunk& m_Chunk; + cChunk* m_Chunk; }; struct sMonsterAndChunk { |