summaryrefslogtreecommitdiffstats
path: root/src/Mobs/EnderDragon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/EnderDragon.cpp')
-rw-r--r--src/Mobs/EnderDragon.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/EnderDragon.cpp b/src/Mobs/EnderDragon.cpp
index 360fe581b..f33a9d888 100644
--- a/src/Mobs/EnderDragon.cpp
+++ b/src/Mobs/EnderDragon.cpp
@@ -9,8 +9,11 @@
cEnderDragon::cEnderDragon(void) :
// TODO: Vanilla source says this, but is it right? Dragons fly, they don't stand
- super("EnderDragon", mtEnderDragon, "entity.enderdragon.hurt", "entity.enderdragon.death", 16.0, 8.0)
+ super(mtEnderDragon, "entity.enderdragon.hurt", "entity.enderdragon.death", 16.0, 8.0)
{
+ m_EMPersonality = AGGRESSIVE;
+ m_BehaviorDoNothing.AttachToMonster(*this);
+ GetMonsterConfig("EnderDragon");
}