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/Wolf.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 'src/Mobs/Wolf.cpp')
-rw-r--r-- | src/Mobs/Wolf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Wolf.cpp b/src/Mobs/Wolf.cpp index b3eefdf79..c66763f17 100644 --- a/src/Mobs/Wolf.cpp +++ b/src/Mobs/Wolf.cpp @@ -137,7 +137,7 @@ void cWolf::OnRightClicked(cPlayer & a_Player) } } } - + m_World->BroadcastEntityMetadata(*this); } @@ -203,7 +203,7 @@ void cWolf::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) } else if (IsSitting()) { - m_bMovingToDestination = false; + StopMovingToPosition(); } } |