summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 30b9d78..3db293c 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1648,6 +1648,8 @@ int map_delmap(char *mapname) {
return 0;
}
+extern char *gm_logfile_name;
+
/*==========================================
* 設定ファイルを読み込む
*------------------------------------------
@@ -1715,6 +1717,8 @@ int map_config_read(char *cfgName) {
strcpy(help_txt, w2);
} else if (strcmpi(w1, "mapreg_txt") == 0) {
strcpy(mapreg_txt, w2);
+ } else if (strcmpi(w1, "gm_log") == 0) {
+ gm_logfile_name = strdup(w2);
} else if (strcmpi(w1, "import") == 0) {
map_config_read(w2);
}