summaryrefslogtreecommitdiff
path: root/src/common/console.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-06-07 20:03:32 +0200
committerEuphy <euphy@rathena.org>2013-06-15 15:41:17 -0400
commit0ea143ce6224679d084e543e6e7f24983867734b (patch)
tree446b190a8b187bb8bc6a4baf9e1b67c9b67db4be /src/common/console.c
parentba8cf0fb01f6cc997ef1424712954ea0d898b009 (diff)
downloadhercules-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/common/console.c')
-rw-r--r--src/common/console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/console.c b/src/common/console.c
index 33d485497..08daec04e 100644
--- a/src/common/console.c
+++ b/src/common/console.c
@@ -101,7 +101,7 @@ CPCMD(help) {
}
/* [Ind/Hercules] */
CPCMD(malloc_usage) {
- unsigned int val = (unsigned int)malloclib->usage();
+ unsigned int val = (unsigned int)iMalloc->usage();
ShowInfo("malloc_usage: %.2f MB\n",(double)(val)/1024);
}
#define CP_DEF_C(x) { #x , NULL , NULL, NULL }
@@ -369,8 +369,8 @@ void console_parse_init(void) {
exit(EXIT_FAILURE);
}
- add_timer_func_list(console->parse_timer, "console_parse_timer");
- add_timer_interval(gettick() + 1000, console->parse_timer, 0, 0, 500);/* start listening in 1s; re-try every 0.5s */
+ iTimer->add_timer_func_list(console->parse_timer, "console_parse_timer");
+ iTimer->add_timer_interval(iTimer->gettick() + 1000, console->parse_timer, 0, 0, 500);/* start listening in 1s; re-try every 0.5s */
}
#endif /* CONSOLE_INPUT */