summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Sheep.cpp
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2013-11-10 16:43:47 +0100
committertonibm19 <tonibm19@gmail.com>2013-11-10 16:43:47 +0100
commite2b4745bbf657272f13a5d70b129a7f523c46918 (patch)
tree96e9a82a3a50ce97763c88adc5be7ca2db4eb212 /source/Mobs/Sheep.cpp
parentYou can no longer color with wood (diff)
downloadcuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.tar
cuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.tar.gz
cuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.tar.bz2
cuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.tar.lz
cuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.tar.xz
cuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.tar.zst
cuberite-e2b4745bbf657272f13a5d70b129a7f523c46918.zip
Diffstat (limited to 'source/Mobs/Sheep.cpp')
-rw-r--r--source/Mobs/Sheep.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/Mobs/Sheep.cpp b/source/Mobs/Sheep.cpp
index f9fc5a60c..de5874132 100644
--- a/source/Mobs/Sheep.cpp
+++ b/source/Mobs/Sheep.cpp
@@ -1,4 +1,3 @@
-
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "Sheep.h"
@@ -50,8 +49,8 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
}
- if (a_Player.GetEquippedItem().m_ItemType == E_ITEM_DYE
- )
+ if (a_Player.GetEquippedItem().m_ItemType == E_ITEM_DYE)
+ {
if (a_Player.GetEquippedItem().m_ItemDamage == E_META_DYE_BLACK)
{
m_WoolColor = 15;