summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Pig.cpp
diff options
context:
space:
mode:
authorwiseoldman95 <softwatt@gmx.com>2015-04-29 18:24:14 +0200
committerwiseoldman95 <softwatt@gmx.com>2015-05-01 12:18:47 +0200
commit1b0e21e0b270b3938b81df119d5a741a3e1e1257 (patch)
tree7caec55ca1792af1d0e3bcb7a8b44eeff65ac15f /src/Mobs/Pig.cpp
parentMerge pull request #1924 from mc-server/BlockAreaCountNonAir (diff)
downloadcuberite-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/Pig.cpp')
-rw-r--r--src/Mobs/Pig.cpp1
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;
}
}
}