diff options
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 527a4be44..ff786e7cd 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1080,7 +1080,7 @@ int unit_attack(struct block_list *src,int target_id,int type) }
if(src->type == BL_PC && target->type==BL_NPC) { // monster npcs [Valaris]
- npc_click((TBL_PC*)src,target_id); // submitted by leinsirk10 [Celest]
+ npc_click((TBL_PC*)src,target); // submitted by leinsirk10 [Celest]
return 0;
}
|