summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 69cb214e8..1a6302abd 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1089,13 +1089,6 @@ int npc_click(struct map_session_data *sd,struct block_list *bl)
if(!bl) return 1;
switch(bl->type){
- case BL_MOB:
- if (npc_checknear2(sd,bl))
- return 1;
- if((nd = ((TBL_MOB *)bl)->nd) == NULL)
- return 1;
- setd_sub(NULL,sd,"@smc_target",0,(void *)bl->id, NULL);
- break;
case BL_NPC:
if ((nd = npc_checknear(sd,bl)) == NULL)
return 1;