summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-17 07:48:10 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-17 07:48:10 +0000
commitf1af15f7af3118a718a2a2ea02156e778b96a16f (patch)
treee470f7e9361cca9df5f0c4c4a682e8d63ba9d0da /src/map/npc.c
parent50d4640a538e16e718e8192ca12bc5ade1a7387f (diff)
downloadhercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.tar.gz
hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.tar.bz2
hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.tar.xz
hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.zip
* [Added]:
- buildin_checkcell, buildin_mobwarp, buildin_pcattack. * [Improved]: - buildin_skilluseid and buildin_skillusepos to accept a few more arguments. - mob_script_callback to return sucess value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7219 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 4af7bc36f..69cb214e8 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1094,6 +1094,7 @@ int npc_click(struct map_session_data *sd,struct block_list *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)