summaryrefslogtreecommitdiffstats
path: root/source/MobProximityCounter.h
diff options
context:
space:
mode:
authormgueydan <gueydan.mathieuÃ@gmail.com>2013-09-08 12:25:07 +0200
committermgueydan <gueydan.mathieuÃ@gmail.com>2013-09-08 12:25:07 +0200
commitb4bb2553445d44dc8ca03bb33d801cf620f71898 (patch)
tree84df119295e37defdacd615b7b9f738b995a08d6 /source/MobProximityCounter.h
parentreplacing asserts by ASSERTs (diff)
downloadcuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.tar
cuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.tar.gz
cuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.tar.bz2
cuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.tar.lz
cuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.tar.xz
cuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.tar.zst
cuberite-b4bb2553445d44dc8ca03bb33d801cf620f71898.zip
Diffstat (limited to '')
-rw-r--r--source/MobProximityCounter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/MobProximityCounter.h b/source/MobProximityCounter.h
index d033f1b7f..8a67139aa 100644
--- a/source/MobProximityCounter.h
+++ b/source/MobProximityCounter.h
@@ -38,7 +38,7 @@ protected :
// this map is generated after collection phase, in order to access monster by distance to player
tDistanceToMonster m_DistanceToMonster;
- // this are the collected chuncks. Used to determinate the number of elligible chunck for spawning.
+ // this are the collected chunks. Used to determinate the number of elligible chunk for spawning.
std::set<cChunk*> m_EligibleForSpawnChunks;
protected :
@@ -47,9 +47,9 @@ protected :
void convertMaps();
public :
- // count a mob on a specified chunck with specified distance to an unkown player
+ // count a mob on a specified chunk with specified distance to an unkown player
// if the distance is shortest than the one collected, this become the new closest
- // distance and the chunck become the "hosting" chunk (that is the one that will perform the action)
+ // distance and the chunk become the "hosting" chunk (that is the one that will perform the action)
void CollectMob(cEntity& a_Monster, cChunk& a_Chunk, double a_Distance);
// return the mobs that are within the range of distance of the closest player they are