diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-03 15:07:56 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-03 15:07:56 +0200 |
commit | ec407dd27dc35b5903fdddf2bad307784842d679 (patch) | |
tree | 69c699b9242fcccf4b7ee865b0c6a9842329c0d4 /src/Mobs/Monster.cpp | |
parent | cCHunkBuffer that compiles with TestGlobals.h (diff) | |
parent | Seperate instructions for OSX and Linux (diff) | |
download | cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.tar cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.tar.gz cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.tar.bz2 cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.tar.lz cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.tar.xz cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.tar.zst cuberite-ec407dd27dc35b5903fdddf2bad307784842d679.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index c66ab4e04..62670907f 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -827,6 +827,10 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType) switch (a_MobType) { case mtMagmaCube: + { + toReturn = new cMagmaCube(Random.NextInt(2) + 1); + break; + } case mtSlime: { toReturn = new cSlime(Random.NextInt(2) + 1); |