summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-04 21:15:49 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-04 21:15:49 +0000
commit95e2157804907751cfaaab0acfcebdca345a8b01 (patch)
treea0ffb93c798005c24da312cbedf0d716af648ef7 /src/map
parent961e0182515f609174791ed1ae0bf99eb50c5dfc (diff)
downloadhercules-95e2157804907751cfaaab0acfcebdca345a8b01.tar.gz
hercules-95e2157804907751cfaaab0acfcebdca345a8b01.tar.bz2
hercules-95e2157804907751cfaaab0acfcebdca345a8b01.tar.xz
hercules-95e2157804907751cfaaab0acfcebdca345a8b01.zip
Fixing the Warning: "suggest explicit braces to avoid ambiguous `else'" to SC_ITEMBOOST.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11358 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 77bd8e53d..2fb8405cd 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -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;
}