summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheJumper <maximilian.springer@web.de>2014-02-22 01:29:50 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-22 01:29:50 +0100
commitc4bfe670c602ec498cc9ee9f6f7f430a353cdda0 (patch)
treeb1d182d69a079616605d27c31355fbdaa5ba4607
parentChanged killer detection by using cEntity methods (diff)
downloadcuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.tar
cuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.tar.gz
cuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.tar.bz2
cuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.tar.lz
cuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.tar.xz
cuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.tar.zst
cuberite-c4bfe670c602ec498cc9ee9f6f7f430a353cdda0.zip
-rw-r--r--src/Mobs/Monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 66629474b..777b78c63 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -884,7 +884,7 @@ void cMonster::AddRandomUncommonDropItem(cItems & a_Drops, float a_Chance, short
{
MTRand r1;
int Count = r1.randInt() % 1000;
- if (Count < (a_Chance*10))
+ if (Count < (a_Chance * 10))
{
a_Drops.push_back(cItem(a_Item, 1, a_ItemHealth));
}