diff options
author | madmaxoft <github@xoft.cz> | 2013-12-25 19:50:18 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-25 19:50:18 +0100 |
commit | 77aaa5c3676b2695880d3bbb1babe55986c58241 (patch) | |
tree | 112ce1f1e837c30190c8ff730079a551637035f8 /src/Mobs | |
parent | Fixed block area height check. (diff) | |
parent | (Hopefully) fixed if conditions (diff) | |
download | cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.tar cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.tar.gz cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.tar.bz2 cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.tar.lz cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.tar.xz cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.tar.zst cuberite-77aaa5c3676b2695880d3bbb1babe55986c58241.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 5a8ef0eb2..76df76633 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -40,8 +40,10 @@ static const struct {cMonster::mtCow, "cow"}, {cMonster::mtCreeper, "creeper"}, {cMonster::mtEnderman, "enderman"}, + {cMonster::mtEnderDragon, "enderdragon"}, {cMonster::mtGhast, "ghast"}, {cMonster::mtHorse, "horse"}, + {cMonster::mtIronGolem, "irongolem"}, {cMonster::mtMagmaCube, "magmacube"}, {cMonster::mtMooshroom, "mooshroom"}, {cMonster::mtOcelot, "ocelot"}, @@ -49,11 +51,13 @@ static const struct {cMonster::mtSheep, "sheep"}, {cMonster::mtSilverfish, "silverfish"}, {cMonster::mtSkeleton, "skeleton"}, + {cMonster::mtSnowGolem, "snowgolem"}, {cMonster::mtSlime, "slime"}, {cMonster::mtSpider, "spider"}, {cMonster::mtSquid, "squid"}, {cMonster::mtVillager, "villager"}, {cMonster::mtWitch, "witch"}, + {cMonster::mtWither, "wither"}, {cMonster::mtWolf, "wolf"}, {cMonster::mtZombie, "zombie"}, {cMonster::mtZombiePigman, "zombiepigman"}, @@ -743,6 +747,7 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType) case mtEnderDragon: toReturn = new cEnderDragon(); break; case mtEnderman: toReturn = new cEnderman(); break; case mtGhast: toReturn = new cGhast(); break; + case mtIronGolem: toReturn = new cIronGolem(); break; case mtMooshroom: toReturn = new cMooshroom(); break; case mtOcelot: toReturn = new cOcelot(); break; case mtPig: toReturn = new cPig(); break; @@ -752,6 +757,7 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType) case mtSpider: toReturn = new cSpider(); break; case mtSquid: toReturn = new cSquid(); break; case mtWitch: toReturn = new cWitch(); break; + case mtWither: toReturn = new cWither(); break; case mtWolf: toReturn = new cWolf(); break; case mtZombie: toReturn = new cZombie(false); break; // TODO: Infected zombie parameter case mtZombiePigman: toReturn = new cZombiePigman(); break; |