diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-29 19:43:41 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-29 19:43:41 +0100 |
commit | e94307c29242e9d7e663c774840568a2b73fd400 (patch) | |
tree | a4372da37ee02b0e3912ff73defa3a79e45faa71 /source/MobSpawner.h | |
parent | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. (diff) | |
download | cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.gz cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.bz2 cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.lz cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.xz cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.zst cuberite-e94307c29242e9d7e663c774840568a2b73fd400.zip |
Diffstat (limited to '')
-rw-r--r-- | source/MobSpawner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/MobSpawner.h b/source/MobSpawner.h index 22adb00f4..ea6636310 100644 --- a/source/MobSpawner.h +++ b/source/MobSpawner.h @@ -39,7 +39,7 @@ public : // if this is the first of a Pack : determine the type of monster // BlockType & BlockMeta are used to decide what kind of Mob can Spawn here // MaxPackSize is set to the maximal size for a pack this type of mob - cMonster * TryToSpawnHere(const cChunk * a_Chunk, int A_RelX, int a_RelY, int a_RelZ, EMCSBiome a_Biome, int& a_MaxPackSize); + cMonster * TryToSpawnHere(cChunk * a_Chunk, int A_RelX, int a_RelY, int a_RelZ, EMCSBiome a_Biome, int& a_MaxPackSize); // mark the beginning of a new Pack // all mobs of the same Pack are the same type @@ -53,7 +53,7 @@ public : protected : // return true if specified type of mob can spawn on specified block - bool CanSpawnHere(const cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, cMonster::eType a_MobType, EMCSBiome a_Biome); + bool CanSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, cMonster::eType a_MobType, EMCSBiome a_Biome); // return a random type that can spawn on specified biome. // returns E_ENTITY_TYPE_DONOTUSE if none is possible |