summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 08:51:18 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 08:51:18 +0000
commitc2a903c8ad865c94875fd3aaffae1647afc2ba8d (patch)
treea4382a934eb049f6a87b87dbd3fa2c611a86d05e
parent4a8d8fb69eefc1fdc436ea1943c1d6e4f066c59c (diff)
downloadhercules-c2a903c8ad865c94875fd3aaffae1647afc2ba8d.tar.gz
hercules-c2a903c8ad865c94875fd3aaffae1647afc2ba8d.tar.bz2
hercules-c2a903c8ad865c94875fd3aaffae1647afc2ba8d.tar.xz
hercules-c2a903c8ad865c94875fd3aaffae1647afc2ba8d.zip
Fixed a bug in int_storage.c, temp array doesn't have the good size
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8088 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/char_sql/int_storage.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 725cc344c..8ce57b3ec 100644
--- a/Changelog-Trunk.txt
+++ b/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
diff --git a/src/char_sql/int_storage.c b/src/char_sql/int_storage.c
index 2fcbc6074..f91276e75 100644
--- a/src/char_sql/int_storage.c
+++ b/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;