summaryrefslogtreecommitdiffstats
path: root/src/Mobs/ZombiePigman.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/ZombiePigman.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/ZombiePigman.cpp b/src/Mobs/ZombiePigman.cpp
index 3b3a93709..d817902f8 100644
--- a/src/Mobs/ZombiePigman.cpp
+++ b/src/Mobs/ZombiePigman.cpp
@@ -12,6 +12,9 @@ cZombiePigman::cZombiePigman(void) :
super(mtZombiePigman, "entity.zombie_pig.hurt", "entity.zombie_pig.death", 0.6, 1.8)
{
m_EMPersonality = PASSIVE;
+ m_BehaviorAttackerMelee.AttachToMonster(*this);
+ m_BehaviorWanderer.AttachToMonster(*this);
+ m_BehaviorAggressive.AttachToMonster(*this);
GetMonsterConfig("ZombiePigman");
}