From 8fd7ea9e4f38bd02b99e4fa42fc2003390a25adc Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Sun, 7 Jan 2007 17:59:25 +0000 Subject: - Fixed the sleep timers not being removed when the an npc was being unloaded and when reloading scripts. Ref: http://www.eathena.ws/board/index.php?showtopic=131464 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9629 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index dc75edf56..13b1ef41a 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -73,6 +73,7 @@ void setd_sub(struct script_state *st, struct map_session_data *sd, char *varnam int run_script_timer(int tid, unsigned int tick, int id, int data); void run_script_main(struct script_state *st); +void script_stop_sleeptimers(int id); struct linkdb_node* script_erase_sleepdb(struct linkdb_node *n); void script_free_stack(struct script_stack*); void script_free_code(struct script_code* code); -- cgit v1.2.3-70-g09d2