From fae7b9e447d4b3d4914475a4e57b561d06deeb25 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 13 Dec 2015 15:51:36 +0100 Subject: Corrected an error in bonus3 bAddMonsterDropItem - Follow-up to 9fef13d4d2e0eab3376ea95b3cb8783d48d19dda - Thanks to pengc2010 for pointing it out Signed-off-by: Haru --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index 9d774906d..b3ca02843 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3642,7 +3642,7 @@ int pc_bonus3(struct map_session_data *sd,int type,int type2,int type3,int val) switch(type){ case SP_ADD_MONSTER_DROP_ITEM: { - uint32 race_mask = map->race_id2mask(type2); + uint32 race_mask = map->race_id2mask(type3); if (race_mask == RCMASK_NONE) { ShowWarning("pc_bonus2: SP_ADD_MONSTER_DROP_ITEM: Invalid Race (%d)\n", type3); break; -- cgit v1.2.3-60-g2f50