diff options
author | wiseoldman95 <softwatt@gmx.com> | 2015-04-29 18:24:14 +0200 |
---|---|---|
committer | wiseoldman95 <softwatt@gmx.com> | 2015-05-01 12:18:47 +0200 |
commit | 1b0e21e0b270b3938b81df119d5a741a3e1e1257 (patch) | |
tree | 7caec55ca1792af1d0e3bcb7a8b44eeff65ac15f /src/Mobs/Sheep.cpp | |
parent | Merge pull request #1924 from mc-server/BlockAreaCountNonAir (diff) | |
download | cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.tar cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.tar.gz cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.tar.bz2 cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.tar.lz cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.tar.xz cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.tar.zst cuberite-1b0e21e0b270b3938b81df119d5a741a3e1e1257.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) |