diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-04 21:15:49 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-04 21:15:49 +0000 |
commit | 95e2157804907751cfaaab0acfcebdca345a8b01 (patch) | |
tree | a0ffb93c798005c24da312cbedf0d716af648ef7 /src | |
parent | 961e0182515f609174791ed1ae0bf99eb50c5dfc (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/mob.c | 2 |
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; } |