summaryrefslogtreecommitdiffstats
path: root/source/Mobs
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-28 19:54:03 +0100
committermadmaxoft <github@xoft.cz>2013-10-28 19:54:03 +0100
commit1eac38f3d7c70295bf986ee02c849d50b3c4f7eb (patch)
treebe58462a9ccf359485b020036388b58dbb051bb9 /source/Mobs
parentMerge pull request #294 from tonibm19/patch-3 (diff)
downloadcuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.tar
cuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.tar.gz
cuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.tar.bz2
cuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.tar.lz
cuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.tar.xz
cuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.tar.zst
cuberite-1eac38f3d7c70295bf986ee02c849d50b3c4f7eb.zip
Diffstat (limited to 'source/Mobs')
-rw-r--r--source/Mobs/Sheep.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Mobs/Sheep.cpp b/source/Mobs/Sheep.cpp
index 5a3b2d015..703482ddb 100644
--- a/source/Mobs/Sheep.cpp
+++ b/source/Mobs/Sheep.cpp
@@ -47,9 +47,9 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
}
cItems Drops;
- int NumDrops = m_World->GetTickRandomNumber(2) + 1;
- Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
- m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
+ int NumDrops = m_World->GetTickRandomNumber(2) + 1;
+ Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
+ m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
}
}