diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 20:06:16 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 20:06:16 +0200 |
commit | 186321d3c780e9b1937c9fb387993f7e5cd9b9b0 (patch) | |
tree | 75c8e37bc3d4aff7f66de84042648dd51efd444f /src/Mobs/AggressiveMonster.cpp | |
parent | Horse (diff) | |
download | cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.gz cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.bz2 cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.lz cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.xz cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.zst cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.zip |
Diffstat (limited to 'src/Mobs/AggressiveMonster.cpp')
-rw-r--r-- | src/Mobs/AggressiveMonster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/AggressiveMonster.cpp b/src/Mobs/AggressiveMonster.cpp index f06412e49..6cfeee4a5 100644 --- a/src/Mobs/AggressiveMonster.cpp +++ b/src/Mobs/AggressiveMonster.cpp @@ -16,7 +16,7 @@ cAggressiveMonster::cAggressiveMonster(const AString & a_ConfigName, eMonsterTyp super(a_ConfigName, a_MobType, a_SoundHurt, a_SoundDeath, a_Width, a_Height) { m_EMPersonality = AGGRESSIVE; - ASSERT(GetBehaviorChaser() != nullptr); + m_BehaviorWanderer.AttachToMonster(*this); } |