diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-18 16:55:28 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-18 16:55:28 +0200 |
commit | 509d3d3b62c2dc5b328cf122c0fc5f0595b73721 (patch) | |
tree | ba04358da23a8a519e3139f64058709bbc208b4e /src/Mobs/Monster.cpp | |
parent | Split into more lines. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/Monster.cpp | 2 |
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: |