- 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://svn.code.sf.net/p/rathena/svn/trunk@9629 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
FlavioJS
2007-01-07 17:59:25 +00:00
parent 3433d36c12
commit da5d22b67f
5 changed files with 37 additions and 14 deletions

View File

@@ -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);