summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-18 16:55:28 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-18 16:55:28 +0200
commit509d3d3b62c2dc5b328cf122c0fc5f0595b73721 (patch)
treeba04358da23a8a519e3139f64058709bbc208b4e /src/Mobs/Monster.cpp
parentSplit into more lines. (diff)
downloadcuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.tar
cuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.tar.gz
cuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.tar.bz2
cuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.tar.lz
cuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.tar.xz
cuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.tar.zst
cuberite-509d3d3b62c2dc5b328cf122c0fc5f0595b73721.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 e36634c73..2a796e8eb 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -867,7 +867,7 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType)
}
case mtSlime:
{
- toReturn = new cSlime(Random.NextInt(2) + 1);
+ toReturn = new cSlime(1 << Random.NextInt(3));
break;
}
case mtSkeleton: