Skip to content

Commit

Permalink
Fixed an issue with storages
Browse files Browse the repository at this point in the history
Thanks to @Daegaladh
  • Loading branch information
Lemongrass3110 committed Jun 3, 2020
1 parent b758a60 commit e2185b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/clif.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2979,7 +2979,7 @@ void clif_storagelist(struct map_session_data* sd, struct item* items, int items
}

if( normal ){
storage_itemlist_normal.PacketType = inventorylistnormalType;
storage_itemlist_normal.PacketType = storageListNormalType;
storage_itemlist_normal.PacketLength = ( sizeof( storage_itemlist_normal ) - sizeof( storage_itemlist_normal.list ) ) + ( sizeof( struct NORMALITEM_INFO ) * normal );
#if PACKETVER_RE_NUM >= 20180912 || PACKETVER_ZERO_NUM >= 20180919 || PACKETVER_MAIN_NUM >= 20181002
storage_itemlist_normal.invType = type;
Expand All @@ -2991,7 +2991,7 @@ void clif_storagelist(struct map_session_data* sd, struct item* items, int items
}

if( equip ) {
storage_itemlist_equip.PacketType = inventorylistequipType;
storage_itemlist_equip.PacketType = storageListEquipType;
storage_itemlist_equip.PacketLength = ( sizeof( storage_itemlist_equip ) - sizeof( storage_itemlist_equip.list ) ) + ( sizeof( struct EQUIPITEM_INFO ) * equip );
#if PACKETVER_RE_NUM >= 20180912 || PACKETVER_ZERO_NUM >= 20180919 || PACKETVER_MAIN_NUM >= 20181002
storage_itemlist_equip.invType = type;
Expand Down

0 comments on commit e2185b8

Please sign in to comment.