summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Sheep.cpp
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2013-10-28 19:47:38 +0100
committertonibm19 <tonibm19@gmail.com>2013-10-28 19:47:38 +0100
commit984277f65e6781ffffc89b7bd382879eda8c8fe6 (patch)
tree41b9977abe17ff34ac6ff5174fb9c7efcd0b9268 /source/Mobs/Sheep.cpp
parentUse STR_Warrior code and changed variable name (diff)
downloadcuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.tar
cuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.tar.gz
cuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.tar.bz2
cuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.tar.lz
cuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.tar.xz
cuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.tar.zst
cuberite-984277f65e6781ffffc89b7bd382879eda8c8fe6.zip
Diffstat (limited to 'source/Mobs/Sheep.cpp')
-rw-r--r--source/Mobs/Sheep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Mobs/Sheep.cpp b/source/Mobs/Sheep.cpp
index 46749d967..5a3b2d015 100644
--- a/source/Mobs/Sheep.cpp
+++ b/source/Mobs/Sheep.cpp
@@ -47,7 +47,7 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
}
cItems Drops;
- int NumDrops = m_World->GetTickRandomumber(2) + 1
+ 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);
}