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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user