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/Pig.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 'src/Mobs/Pig.cpp')
-rw-r--r-- | src/Mobs/Pig.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Mobs/Pig.cpp b/src/Mobs/Pig.cpp index edd4d9de4..56d6abfd5 100644 --- a/src/Mobs/Pig.cpp +++ b/src/Mobs/Pig.cpp @@ -90,7 +90,6 @@ void cPig::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) if (m_Attachee->IsPlayer() && (m_Attachee->GetEquippedWeapon().m_ItemType == E_ITEM_CARROT_ON_STICK)) { MoveToPosition((m_Attachee->GetPosition()) + (m_Attachee->GetLookVector()*10)); - m_bMovingToDestination = true; } } } |