summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-05-23 21:11:34 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-05-23 21:11:34 +0200
commit042c08d7e30394979c8649e05f5b1f2f8846cfbf (patch)
treecf99445fc1b08d82778fa9f32113f982309441d2
parentMerge pull request #2117 from Seadragon91/clang_errors (diff)
parentCows and rabbits no longer spawn over water. (diff)
downloadcuberite-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
-rw-r--r--src/Generating/FinishGen.cpp2
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;