diff options
author | Mattes D <github@xoft.cz> | 2015-05-01 13:47:48 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-01 13:47:48 +0200 |
commit | aa142757dbf34fca603799aaef2a4dc047b0bd14 (patch) | |
tree | 7caec55ca1792af1d0e3bcb7a8b44eeff65ac15f /src/Mobs/Sheep.cpp | |
parent | Merge pull request #1924 from mc-server/BlockAreaCountNonAir (diff) | |
parent | A* Pathfinding and better monster AI (diff) | |
download | cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.tar cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.tar.gz cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.tar.bz2 cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.tar.lz cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.tar.xz cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.tar.zst cuberite-aa142757dbf34fca603799aaef2a4dc047b0bd14.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Sheep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Sheep.cpp b/src/Mobs/Sheep.cpp index c0cdec035..ec24f167e 100644 --- a/src/Mobs/Sheep.cpp +++ b/src/Mobs/Sheep.cpp @@ -98,7 +98,7 @@ void cSheep::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) if (m_TimeToStopEating > 0) { - m_bMovingToDestination = false; // The sheep should not move when he's eating + StopMovingToPosition(); m_TimeToStopEating--; if (m_TimeToStopEating == 0) |