Fixing the Warning: "suggest explicit braces to avoid ambiguous `else'" to SC_ITEMBOOST.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11358 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
zephyrus
2007-10-04 21:15:49 +00:00
parent fe1db10bcc
commit 81c62790ca

View File

@@ -2022,8 +2022,10 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if (rand() % 10000 >= drop_rate)
{
if (sd && sd->sc.data[SC_ITEMBOOST].timer != -1)
{
if (rand() % 10000 >= drop_rate)
continue; // Double try by Bubble Gum
}
else
continue;
}