Преглед изворни кода

Upped max_files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1054 54d463be-8e91-2dee-dedb-b68131a5f0ec
(no author) пре 20 година
родитељ
комит
9f971fd7ae
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      Changelog.txt
  2. 1 1
      src/common/grfio.c

+ 1 - 0
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)

+ 1 - 1
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;