summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-06 05:11:18 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-06 05:11:18 +0000
commitd47ef1caf4153d3810a7d289f8dc0b8d01daa902 (patch)
treedcbef9db4036239d4c89130d7ee4b5d582179a5b
parentedc0cbfe0fcbc37b6ebd1bc06fedd39bf62f5eb6 (diff)
downloadhercules-d47ef1caf4153d3810a7d289f8dc0b8d01daa902.tar.gz
hercules-d47ef1caf4153d3810a7d289f8dc0b8d01daa902.tar.bz2
hercules-d47ef1caf4153d3810a7d289f8dc0b8d01daa902.tar.xz
hercules-d47ef1caf4153d3810a7d289f8dc0b8d01daa902.zip
Upped max_files
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1054 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog.txt1
-rw-r--r--src/common/grfio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index e29af9d08..f48c06ecf 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,6 +1,7 @@
Date Added
02/05
+ * increased the max_files allowed in a grf [1054: MouseJstr]
* Changed the way char deletion works for SQL [1051: Ajarn]
- If the email the client fails check then check if the
email is blank and the DB email is a@a.com (default)
diff --git a/src/common/grfio.c b/src/common/grfio.c
index 5453a4b5d..2d47ff4e4 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -96,7 +96,7 @@ typedef struct {
//Since char defines *FILELIST.gentry, the maximum which can be added by grfio_add becomes by 127 pieces.
#define GENTRY_LIMIT 127
-#define FILELIST_LIMIT 32768 // temporary maximum, and a theory top maximum are 2G.
+#define FILELIST_LIMIT 65536 // temporary maximum, and a theory top maximum are 2G.
static FILELIST *filelist;
static int filelist_entrys;