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/mmo.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index 0c275c41a..b76a838be 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -17,7 +17,7 @@ struct _indexes {
char name[MAP_NAME_LENGTH]; //Stores map name
} indexes[MAX_MAPINDEX];
-static unsigned short max_index = 0;
+int max_index = 0;
char mapindex_cfgfile[80] = "db/map_index.txt";
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 18b724e56..ff74b1272 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -25,6 +25,7 @@
//Number of slots carded equipment can have. Never set to less than 4 as they are also used to keep the data of forged items/equipment. [Skotlex]
//Note: The client seems unable to receive data for more than 4 slots due to all related packets having a fixed size.
#define MAX_SLOTS 4
+//Max amount of a single stacked item
#define MAX_AMOUNT 30000
#define MAX_ZENY 1000000000
#define MAX_FAME 1000000000