diff options
author | tonibm19 <tonibm19@gmail.com> | 2013-10-28 19:47:38 +0100 |
---|---|---|
committer | tonibm19 <tonibm19@gmail.com> | 2013-10-28 19:47:38 +0100 |
commit | 984277f65e6781ffffc89b7bd382879eda8c8fe6 (patch) | |
tree | 41b9977abe17ff34ac6ff5174fb9c7efcd0b9268 /source/Mobs | |
parent | Use STR_Warrior code and changed variable name (diff) | |
download | cuberite-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 '')
-rw-r--r-- | source/Mobs/Sheep.cpp | 2 |
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); } |