From c1d8f1010cb12e65d49000c29699523a0c1c9263 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 23 Jun 2013 17:16:18 -0300 Subject: Follow up fcba8a2161a392369db99ab9a516a24470c54796 Amazing, all my huge commits end up having debug left overs no matter how hard I try to not leave any behind T___T so sad ;__; /embarrassed Signed-off-by: shennetsind --- src/map/pc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/map/pc.c b/src/map/pc.c index ec1036749..61655afc3 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1811,7 +1811,7 @@ static int pc_bonus_addeff_onskill(struct s_addeffectonskill* effect, int max, e static int pc_bonus_item_drop(struct s_add_drop *drop, const short max, short id, short group, int race, int rate) { int i; - ShowDebug("Adding %s (%d) with rate %d\n",id?itemdb_name(id):"NONE",id,rate); + //Apply config rate adjustment settings. if (rate >= 0) { //Absolute drop. if (battle_config.item_rate_adddrop != 100) @@ -1851,8 +1851,6 @@ static int pc_bonus_item_drop(struct s_add_drop *drop, const short max, short id ShowWarning("pc_bonus: Reached max (%d) number of added drops per character!\n", max); return 0; } - if( id ) - ShowDebug("Adding %s (%d) with rate %d\n",itemdb_name(id),id,rate); drop[i].id = id; drop[i].group = group; drop[i].race |= race; -- cgit v1.2.3-70-g09d2