1
0
Fork 0

Fixed MagmaCube spawning.

Fixes #928.
This commit is contained in:
madmaxoft 2014-05-02 19:17:22 +02:00
parent 5c7876c2dd
commit 202ce3e737
1 changed files with 4 additions and 0 deletions

View File

@ -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);