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
This commit is contained in:
toms
2006-08-03 08:51:18 +00:00
parent aebca964db
commit c831b74d87
2 changed files with 3 additions and 2 deletions

View File

@@ -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;