* Fixed Storage AddItem Bug (bugreport:8126, Hercules merge:24556fb)
This commit is contained in:
parent
18c6bc0d23
commit
4e7cf8fe47
@ -234,6 +234,8 @@ int storage_storageadd(struct map_session_data* sd, int index, int amount)
|
|||||||
|
|
||||||
if( storage_additem(sd,&sd->status.inventory[index],amount) == 0 )
|
if( storage_additem(sd,&sd->status.inventory[index],amount) == 0 )
|
||||||
pc_delitem(sd,index,amount,0,4,LOG_TYPE_STORAGE);
|
pc_delitem(sd,index,amount,0,4,LOG_TYPE_STORAGE);
|
||||||
|
else
|
||||||
|
clif_dropitem(sd,index,0);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user