diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-05-23 21:11:34 +0200 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-05-23 21:11:34 +0200 |
commit | 042c08d7e30394979c8649e05f5b1f2f8846cfbf (patch) | |
tree | cf99445fc1b08d82778fa9f32113f982309441d2 /src/Generating/FinishGen.cpp | |
parent | Merge pull request #2117 from Seadragon91/clang_errors (diff) | |
parent | Cows and rabbits no longer spawn over water. (diff) | |
download | cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.tar cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.tar.gz cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.tar.bz2 cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.tar.lz cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.tar.xz cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.tar.zst cuberite-042c08d7e30394979c8649e05f5b1f2f8846cfbf.zip |
Diffstat (limited to 'src/Generating/FinishGen.cpp')
-rw-r--r-- | src/Generating/FinishGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 69ae59c18..e96d959f9 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -1259,7 +1259,7 @@ bool cFinishGenPassiveMobs::TrySpawnAnimals(cChunkDesc & a_ChunkDesc, int a_RelX } if ( (BlockUnderFeet != E_BLOCK_GRASS) && - ((AnimalToSpawn == mtSheep) || (AnimalToSpawn == mtChicken) || (AnimalToSpawn == mtPig)) + ((AnimalToSpawn == mtRabbit) || (AnimalToSpawn == mtCow) || (AnimalToSpawn == mtSheep) || (AnimalToSpawn == mtChicken) || (AnimalToSpawn == mtPig)) ) { return false; |