Przeglądaj źródła

Fixed a bug in int_storage.c, temp array doesn't have the good size

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8088 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms 19 lat temu
rodzic
commit
c831b74d87
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 1
      Changelog-Trunk.txt
  2. 1 1
      src/char_sql/int_storage.c

+ 2 - 1
Changelog-Trunk.txt

@@ -2,7 +2,8 @@ Date	Added
 
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
-
+2006/08/03
+	* Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
 2006/08/02
 	* Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
 	  Silence now ONLY blocks skills from being used, it will not stop on-going

+ 1 - 1
src/char_sql/int_storage.c

@@ -33,7 +33,7 @@ int storage_tosql(int account_id,struct storage *p){
 //	int eqcount=1;
 //	int noteqcount=1;
 	int count=0;
-	struct itemtmp mapitem[MAX_GUILD_STORAGE];
+	struct itemtmp mapitem[MAX_STORAGE];
 	for(i=0;i<MAX_STORAGE;i++){
 		if(p->storage_[i].nameid>0){
 			mapitem[count].flag=0;