diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Wolf.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Mobs/Wolf.cpp b/src/Mobs/Wolf.cpp index f659571b1..e074cfe2e 100644 --- a/src/Mobs/Wolf.cpp +++ b/src/Mobs/Wolf.cpp @@ -241,15 +241,11 @@ void cWolf::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) } else { + MoveToPosition(m_Target->GetPosition()); if (TargetIsInRange()) { - StopMovingToPosition(); Attack(a_Dt); } - else - { - MoveToPosition(m_Target->GetPosition()); - } } } |