summaryrefslogtreecommitdiffstats
path: root/source/Mobs
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-16 12:12:56 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-16 12:12:56 +0100
commit32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6 (patch)
tree0d336dd2935b40610d884892e493f41d81f56573 /source/Mobs
parentAdded API.txt into project for reference (diff)
downloadcuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.gz
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.bz2
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.lz
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.xz
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.zst
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.zip
Diffstat (limited to '')
-rw-r--r--source/Mobs/Pig.cpp2
-rw-r--r--source/Mobs/Sheep.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/Mobs/Pig.cpp b/source/Mobs/Pig.cpp
index 15be0001f..a71476e00 100644
--- a/source/Mobs/Pig.cpp
+++ b/source/Mobs/Pig.cpp
@@ -18,7 +18,7 @@ cPig::cPig(void) :
void cPig::GetDrops(cItems & a_Drops, cPawn * a_Killer)
{
- AddRandomDropItem(a_Drops, 1, 3, (GetMetaData() == BURNING) ? E_ITEM_COOKED_PORKCHOP : E_ITEM_RAW_MEAT);
+ AddRandomDropItem(a_Drops, 1, 3, (GetMetaData() == BURNING) ? E_ITEM_COOKED_PORKCHOP : E_ITEM_RAW_PORKCHOP);
}
diff --git a/source/Mobs/Sheep.cpp b/source/Mobs/Sheep.cpp
index c860e25d9..174c8a9d3 100644
--- a/source/Mobs/Sheep.cpp
+++ b/source/Mobs/Sheep.cpp
@@ -23,7 +23,7 @@ void cSheep::GetDrops(cItems & a_Drops, cPawn * a_Killer)
{
if (!m_IsSheared)
{
- a_Drops.push_back(cItem(E_ITEM_WHITE_CLOTH, 1, m_WoolColor));
+ a_Drops.push_back(cItem(E_BLOCK_WOOL, 1, m_WoolColor));
}
}