From 729424c1ebb6762f49b85c97d56dabb5975958a1 Mon Sep 17 00:00:00 2001 From: Lance Date: Fri, 17 Mar 2006 06:39:58 +0000 Subject: * Final fix on Juperos NPC. * Fix on initnpctimer not attaching rid. * Fix on OnTouch ignoring -1 NPCs. * Fix on @reloadscript crashing due to passing non BL_SKILL bl to a function that accepts only BL_SKILL bl. * Added area NPC detection in clif_parseLoadEndAck. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5638 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 7de21a76f..4eeea13cb 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5659,6 +5659,7 @@ int buildin_initnpctimer(struct script_state *st) else nd=(struct npc_data *)map_id2bl(st->oid); + nd->u.scr.rid = st->rid; npc_settimerevent_tick(nd,0); npc_timerevent_start(nd, st->rid); return 0; -- cgit v1.2.3-70-g09d2