summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-13 11:09:19 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-13 11:09:19 +0200
commite48d172f49e9aeb9b73b49f54e0be4af3e14b9db (patch)
tree88fbd34759f5e007c8a01acb8df9ee2b6985858e /src/Mobs/Monster.cpp
parentChanged BroadcastSoundEffect function to take floating pos. (diff)
parentMerge pull request #1167 from Howaner/Plugins (diff)
downloadcuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.tar
cuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.tar.gz
cuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.tar.bz2
cuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.tar.lz
cuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.tar.xz
cuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.tar.zst
cuberite-e48d172f49e9aeb9b73b49f54e0be4af3e14b9db.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 6d6364404..16f75db67 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -900,7 +900,7 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType)
case mtMooshroom: toReturn = new cMooshroom(); break;
case mtOcelot: toReturn = new cOcelot(); break;
case mtPig: toReturn = new cPig(); break;
- case mtSheep: toReturn = new cSheep (Random.NextInt(15)); break; // Colour parameter
+ case mtSheep: toReturn = new cSheep(); break;
case mtSilverfish: toReturn = new cSilverfish(); break;
case mtSnowGolem: toReturn = new cSnowGolem(); break;
case mtSpider: toReturn = new cSpider(); break;