1
0

Monster.cpp: Fixed Formatting in AddRandomUncommonDropItem

This commit is contained in:
TheJumper 2014-02-22 01:29:50 +01:00
parent 764de9c399
commit c4bfe670c6

View File

@ -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));
}