diff options
author | greenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-09-16 16:08:02 +0000 |
---|---|---|
committer | greenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-09-16 16:08:02 +0000 |
commit | 77912311a7ad7151e4a2476cac73f3ec181d27bd (patch) | |
tree | 2b3dfafc010a38a85a61a203bbfe08bbb1e5e451 /src | |
parent | ea003abfbcf5f3ddf982585c5136d7cf343a2b88 (diff) | |
download | hercules-77912311a7ad7151e4a2476cac73f3ec181d27bd.tar.gz hercules-77912311a7ad7151e4a2476cac73f3ec181d27bd.tar.bz2 hercules-77912311a7ad7151e4a2476cac73f3ec181d27bd.tar.xz hercules-77912311a7ad7151e4a2476cac73f3ec181d27bd.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |