summaryrefslogtreecommitdiffstats
path: root/source/MobCensus.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/MobCensus.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/MobCensus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/MobCensus.h b/source/MobCensus.h
index 32e608324..8aa8f3a6c 100644
--- a/source/MobCensus.h
+++ b/source/MobCensus.h
@@ -11,7 +11,7 @@ class cMonster;
// it was first being designed in order to make mobs spawn / despawn / act
// as the behaviour and even life of mobs depends on the distance to closest player
//
-// as side effect : it also collect the chuncks that are elligible for spawning
+// as side effect : it also collect the chunks that are elligible for spawning
// as side effect 2 : it also know the caps for mobs number and can compare census to this numbers
class cMobCensus
{
@@ -27,7 +27,7 @@ protected :
std::set<cChunk*> m_EligibleForSpawnChunks;
- // count the chunks that are elligible to spawn (for now, the loaded valide not null chuncks)
+ // count the chunks that are elligible to spawn (for now, the loaded valide not null chunks)
int getChunkNb();
public:
@@ -39,8 +39,8 @@ public:
public :
// collect an elligible Chunk for Mob Spawning
- // MG TODO : code the correct rule (not loaded chunck but short distant from players)
- void CollectSpawnableChunck(cChunk& a_Chunk);
+ // MG TODO : code the correct rule (not loaded chunk but short distant from players)
+ void CollectSpawnableChunk(cChunk& a_Chunk);
// collect a mob - it's distance to player, it's family ...
void CollectMob(cMonster& a_Monster, cChunk& a_Chunk, double a_Distance);