From 77912311a7ad7151e4a2476cac73f3ec181d27bd Mon Sep 17 00:00:00 2001 From: greenboxal2 Date: Sun, 16 Sep 2012 16:08:02 +0000 Subject: Follow up r16769, initnpctimer should reset the timer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16784 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map') diff --git a/src/map/script.c b/src/map/script.c index 36b83215a..bfc186322 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -9084,6 +9084,7 @@ BUILDIN_FUNC(initnpctimer) nd->u.scr.rid = sd->bl.id; } + nd->u.scr.timertick = 0; npc_settimerevent_tick(nd,0); npc_timerevent_start(nd, st->rid); return 0; -- cgit v1.2.3-70-g09d2