summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-09-23 16:33:48 +0200
committerGitHub <noreply@github.com>2018-09-23 16:33:48 +0200
commit7e3c43a3a0e2a08bb6a285692442797da68bc6f4 (patch)
tree92aeb77df660b05f41cd154516e612d42ec512cb /src/map
parentaddaee6a7e33de6d8e909fbba0d7ccc1ab4c56f9 (diff)
parentedebb021f19127b653e318e390f1e19ea3aa9180 (diff)
downloadhercules-7e3c43a3a0e2a08bb6a285692442797da68bc6f4.tar.gz
hercules-7e3c43a3a0e2a08bb6a285692442797da68bc6f4.tar.bz2
hercules-7e3c43a3a0e2a08bb6a285692442797da68bc6f4.tar.xz
hercules-7e3c43a3a0e2a08bb6a285692442797da68bc6f4.zip
Merge pull request #2204 from dastgirp/issue/2201
Fixed issue #2201
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index d398d938c..765acafe7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2426,7 +2426,8 @@ static int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(zeny) // zeny from mobs [Valaris]
pc->getzeny(tmpsd[i], zeny, LOG_TYPE_PICKDROP_MONSTER, NULL);
- achievement->validate_mob_kill(tmpsd[i], md->db->mob_id); // Achievements [Smokexyz/Hercules]
+ if (!md->special_state.clone && !mob->is_clone(md->class_))
+ achievement->validate_mob_kill(tmpsd[i], md->db->mob_id); // Achievements [Smokexyz/Hercules]
}
}