summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-18 02:42:41 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-18 02:42:41 +0000
commit4b9deaad37eb140bc7e55b1caf82e4512f476075 (patch)
tree7c00fd111ee261428ee55eacaf0e4a6554735254 /src/map/npc.c
parent5ebc10a3af6608d47510c3f528c5794914490897 (diff)
downloadhercules-4b9deaad37eb140bc7e55b1caf82e4512f476075.tar.gz
hercules-4b9deaad37eb140bc7e55b1caf82e4512f476075.tar.bz2
hercules-4b9deaad37eb140bc7e55b1caf82e4512f476075.tar.xz
hercules-4b9deaad37eb140bc7e55b1caf82e4512f476075.zip
* [Removed]:
- Large part of scripted mob control commands are removed. - Large part of scripted player control commands are removed. - Scripted mob slaves changing master ID. [Added]: - Unit control commands. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too. - Macro RECURSIVE_MASTER_CHECK in battle.c [Modified]: - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid and buildin_unitskillusepos. - md->callback_flag to short (double word). [Lance] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7233 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;