summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mapindex.c2
-rw-r--r--src/common/mapindex.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index b76a838be..4aef69574 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -11,8 +11,6 @@
#include <stdio.h>
#include <stdlib.h>
-#define MAX_MAPINDEX 2000
-
struct _indexes {
char name[MAP_NAME_LENGTH]; //Stores map name
} indexes[MAX_MAPINDEX];
diff --git a/src/common/mapindex.h b/src/common/mapindex.h
index 3a9ff3537..cd4c09d37 100644
--- a/src/common/mapindex.h
+++ b/src/common/mapindex.h
@@ -10,6 +10,8 @@ extern char mapindex_cfgfile[80];
//whether to enable auto-adding of maps during run. Not so secure as the map indexes will vary!
//#define MAPINDEX_AUTOADD
+#define MAX_MAPINDEX 2000
+
//Some definitions for the mayor city maps.
#define MAP_PRONTERA "prontera"
#define MAP_GEFFEN "geffen"