diff options
author | Susu <bruant.bastien@gmail.com> | 2013-06-07 20:03:32 +0200 |
---|---|---|
committer | Euphy <euphy@rathena.org> | 2013-06-15 15:41:17 -0400 |
commit | 0ea143ce6224679d084e543e6e7f24983867734b (patch) | |
tree | 446b190a8b187bb8bc6a4baf9e1b67c9b67db4be /src/map/mapreg_sql.c | |
parent | ba8cf0fb01f6cc997ef1424712954ea0d898b009 (diff) | |
download | hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.gz hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.bz2 hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.xz hercules-0ea143ce6224679d084e543e6e7f24983867734b.zip |
Hercules Renewal Phase One : pc, party, map, timer
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
Diffstat (limited to 'src/map/mapreg_sql.c')
-rw-r--r-- | src/map/mapreg_sql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mapreg_sql.c b/src/map/mapreg_sql.c index 484da5641..a42ec04f2 100644 --- a/src/map/mapreg_sql.c +++ b/src/map/mapreg_sql.c @@ -302,8 +302,8 @@ void mapreg_init(void) { script_load_mapreg(); - add_timer_func_list(script_autosave_mapreg, "script_autosave_mapreg"); - add_timer_interval(gettick() + MAPREG_AUTOSAVE_INTERVAL, script_autosave_mapreg, 0, 0, MAPREG_AUTOSAVE_INTERVAL); + iTimer->add_timer_func_list(script_autosave_mapreg, "script_autosave_mapreg"); + iTimer->add_timer_interval(iTimer->gettick() + MAPREG_AUTOSAVE_INTERVAL, script_autosave_mapreg, 0, 0, MAPREG_AUTOSAVE_INTERVAL); } bool mapreg_config_read(const char* w1, const char* w2) { |