1
0

Fixed MagmaCube spawning.

Fixes #928.
This commit is contained in:
madmaxoft 2014-05-02 19:17:22 +02:00
parent 5c7876c2dd
commit 202ce3e737

View File

@ -827,6 +827,10 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType)
switch (a_MobType) switch (a_MobType)
{ {
case mtMagmaCube: case mtMagmaCube:
{
toReturn = new cMagmaCube(Random.NextInt(2) + 1);
break;
}
case mtSlime: case mtSlime:
{ {
toReturn = new cSlime(Random.NextInt(2) + 1); toReturn = new cSlime(Random.NextInt(2) + 1);