summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 21:25:26 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 21:25:26 +0000
commit2bc59ef9db7a86d0c483e3848ead57d6d691e6a3 (patch)
treedfe7994053b5e2d0a1aad158ca23f0cc8e0bc533 /src/common
parentea3c690441b4f4c6cea3fd556ac0618018be9a23 (diff)
downloadhercules-2bc59ef9db7a86d0c483e3848ead57d6d691e6a3.tar.gz
hercules-2bc59ef9db7a86d0c483e3848ead57d6d691e6a3.tar.bz2
hercules-2bc59ef9db7a86d0c483e3848ead57d6d691e6a3.tar.xz
hercules-2bc59ef9db7a86d0c483e3848ead57d6d691e6a3.zip
Fixed numerous /W4 warnings (and created more :)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11514 54d463be-8e91-2dee-dedb-b68131a5f0ec
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