소스 검색

Follow up r16769, initnpctimer should reset the timer.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16784 54d463be-8e91-2dee-dedb-b68131a5f0ec
greenboxal2 12 년 전
부모
커밋
7a0f936c35
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/map/script.c

+ 1 - 0
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;