diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-03 08:51:18 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-03 08:51:18 +0000 |
commit | c2a903c8ad865c94875fd3aaffae1647afc2ba8d (patch) | |
tree | a4382a934eb049f6a87b87dbd3fa2c611a86d05e /src/char_sql | |
parent | 4a8d8fb69eefc1fdc436ea1943c1d6e4f066c59c (diff) | |
download | hercules-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
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/int_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|