diff options
author | Mattes D <github@xoft.cz> | 2015-05-09 12:44:57 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-09 12:44:57 +0200 |
commit | 92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca (patch) | |
tree | b1207b58343d2626043ba0946ed13be155c2e380 /src/Mobs/Monster.cpp | |
parent | Fixed remaing pragmas (diff) | |
parent | GetSizeName of cSlime and cMagmaCube is now static (diff) | |
download | cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.tar cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.tar.gz cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.tar.bz2 cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.tar.lz cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.tar.xz cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.tar.zst cuberite-92b8cd2f2a291b8ea49ab9545208ec0fed7d33ca.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 9df5bd930..3d3fdfb64 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -960,7 +960,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: |