diff options
author | Haru <haru@dotalux.com> | 2015-12-13 15:51:36 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-13 15:51:36 +0100 |
commit | fae7b9e447d4b3d4914475a4e57b561d06deeb25 (patch) | |
tree | 09ef9737425281bb7975cf8fbd24eaa23f850258 | |
parent | de53a96d42cf255f57235ced374c2cbcf3de48d0 (diff) | |
download | hercules-fae7b9e447d4b3d4914475a4e57b561d06deeb25.tar.gz hercules-fae7b9e447d4b3d4914475a4e57b561d06deeb25.tar.bz2 hercules-fae7b9e447d4b3d4914475a4e57b561d06deeb25.tar.xz hercules-fae7b9e447d4b3d4914475a4e57b561d06deeb25.zip |
Corrected an error in bonus3 bAddMonsterDropItem
- Follow-up to 9fef13d4d2e0eab3376ea95b3cb8783d48d19dda
- Thanks to pengc2010 for pointing it out
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |