From f2fd4885c2a906414e0f36acf95d252e5a9d5805 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 8 Jan 2013 19:00:34 -0800 Subject: Improve warning management more --- src/map/map.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/map.cpp') diff --git a/src/map/map.cpp b/src/map/map.cpp index e1b96a8..8732186 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -65,6 +65,7 @@ int bl_list_count = 0; struct map_data map[MAX_MAP_PER_SERVER]; int map_num = 0; +static int map_port = 0; int autosave_interval = DEFAULT_AUTOSAVE_INTERVAL; @@ -1736,11 +1737,11 @@ int map_delmap(const char *mapname) return 0; } -extern char *gm_logfile_name; - #define LOGFILE_SECONDS_PER_CHUNK_SHIFT 10 +static FILE *map_logfile = NULL; +static char *map_logfile_name = NULL; static long map_logfile_index; -- cgit v1.2.3-70-g09d2