diff options
author | TheJumper <maximilian.springer@web.de> | 2014-02-22 01:29:50 +0100 |
---|---|---|
committer | TheJumper <maximilian.springer@web.de> | 2014-02-22 01:29:50 +0100 |
commit | c4bfe670c602ec498cc9ee9f6f7f430a353cdda0 (patch) | |
tree | b1d182d69a079616605d27c31355fbdaa5ba4607 /src/Mobs | |
parent | Changed killer detection by using cEntity methods (diff) | |
download | cuberite-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 |
Diffstat (limited to 'src/Mobs')
-rw-r--r-- | src/Mobs/Monster.cpp | 2 |
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)); } |