diff options
author | shennetsind <ind@henn.et> | 2013-06-23 17:16:18 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-23 17:16:18 -0300 |
commit | c1d8f1010cb12e65d49000c29699523a0c1c9263 (patch) | |
tree | 36093b168d81b22041e46ccbe9a46ce309f8134b /src/map/pc.c | |
parent | fcba8a2161a392369db99ab9a516a24470c54796 (diff) | |
download | hercules-c1d8f1010cb12e65d49000c29699523a0c1c9263.tar.gz hercules-c1d8f1010cb12e65d49000c29699523a0c1c9263.tar.bz2 hercules-c1d8f1010cb12e65d49000c29699523a0c1c9263.tar.xz hercules-c1d8f1010cb12e65d49000c29699523a0c1c9263.zip |
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 <ind@henn.et>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 1 insertions, 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; |