summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-13 15:51:36 +0100
committerHaru <haru@dotalux.com>2015-12-13 15:51:36 +0100
commitfae7b9e447d4b3d4914475a4e57b561d06deeb25 (patch)
tree09ef9737425281bb7975cf8fbd24eaa23f850258 /src
parentde53a96d42cf255f57235ced374c2cbcf3de48d0 (diff)
downloadhercules-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>
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
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;