From 2523af8f9a6f712dc6cc4007437349557b0bdfe1 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sat, 2 Sep 2017 19:36:24 +0300 Subject: Many mobs reimplemented --- src/Mobs/ZombiePigman.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Mobs/ZombiePigman.cpp') 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"); } -- cgit v1.2.3