summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 96d2c872b..03945040a 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -285,6 +285,12 @@ int main(int argc,char **argv)
{
int next;
+ display_title();
+#ifdef USE_MEMMGR
+ // call this first so it'll be finalised last
+ do_init_memmgr(argv[0]); // 一番最初に実行する必要がある
+#endif
+
sscanf(argv[0], "./%24[^\n]", server_type); // map/char/login?
atexit(log_uptime);
pid_create(argv[0]);
@@ -305,12 +311,6 @@ int main(int argc,char **argv)
compat_signal(SIGTRAP, SIG_DFL);
#endif
- display_title();
-
-#ifdef USE_MEMMGR
- do_init_memmgr(argv[0]); // 一番最初に実行する必要がある
-#endif
-
tick_ = time(0);
ticks = gettick();