summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-05-24 08:50:54 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-05-24 08:50:54 +0200
commit64b3dcce7eeece991da75ccd26c0b3bfea01e758 (patch)
treea20956538ed208e19be138fff37b4bcdd1cee0d4 /src
parentMerge pull request #2107 from mc-server/cow-waterspawn (diff)
parentWolves don't spawn in rivers. (diff)
downloadcuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.tar
cuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.tar.gz
cuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.tar.bz2
cuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.tar.lz
cuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.tar.xz
cuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.tar.zst
cuberite-64b3dcce7eeece991da75ccd26c0b3bfea01e758.zip
Diffstat (limited to 'src')
-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 e96d959f9..c988224e6 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 == mtRabbit) || (AnimalToSpawn == mtCow) || (AnimalToSpawn == mtSheep) || (AnimalToSpawn == mtChicken) || (AnimalToSpawn == mtPig))
+ ((AnimalToSpawn == mtWolf) || (AnimalToSpawn == mtRabbit) || (AnimalToSpawn == mtCow) || (AnimalToSpawn == mtSheep) || (AnimalToSpawn == mtChicken) || (AnimalToSpawn == mtPig))
)
{
return false;