summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorTri125 <kraig.tri125@gmail.com>2015-05-07 05:29:36 +0200
committerTristan <kraig.tri125@gmail.com>2015-05-07 05:56:08 +0200
commit9f6192687f84fc97c5f854c778f3b393965794ef (patch)
tree76504c8c1b4fc4ed1f2c3c95948481ac2a5ab1c3 /src/Mobs/Monster.cpp
parentFixed the sound issue with the MagmaCube (diff)
downloadcuberite-9f6192687f84fc97c5f854c778f3b393965794ef.tar
cuberite-9f6192687f84fc97c5f854c778f3b393965794ef.tar.gz
cuberite-9f6192687f84fc97c5f854c778f3b393965794ef.tar.bz2
cuberite-9f6192687f84fc97c5f854c778f3b393965794ef.tar.lz
cuberite-9f6192687f84fc97c5f854c778f3b393965794ef.tar.xz
cuberite-9f6192687f84fc97c5f854c778f3b393965794ef.tar.zst
cuberite-9f6192687f84fc97c5f854c778f3b393965794ef.zip
Diffstat (limited to 'src/Mobs/Monster.cpp')
-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 37774b08f..e86570c77 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -886,7 +886,7 @@ cMonster * cMonster::NewMonsterFromType(eMonsterType a_MobType)
{
case mtMagmaCube:
{
- toReturn = new cMagmaCube(Random.NextInt(2) + 1);
+ toReturn = new cMagmaCube(1 << Random.NextInt(3)); // Size 1, 2 or 4
break;
}
case mtSlime: