summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e2cf765ee..466124928 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1616,6 +1616,7 @@ bool mob_ai_sub_hard(struct mob_data *md, int64 tick) {
{ //Only attack if no more attack delay left
if(tbl->type == BL_PC)
mob->log_damage(md, tbl, 0); //Log interaction (counts as 'attacker' for the exp bonus)
+ unit->attack(&md->bl,tbl->id,1);
}
return true;
}