Browse Source

Fix saving items

pull/978/head
Anders Jenbo 5 years ago
parent
commit
244c5437b4
  1. 2
      Source/loadsave.cpp

2
Source/loadsave.cpp

@ -966,7 +966,7 @@ static void SaveItem(ItemStruct *pItem)
{
int idx = RemapItemIdxToDiablo(pItem->IDidx);
int iType = pItem->_itype;
if (idx != -1) {
if (idx == -1) {
idx = 0;
iType = ITYPE_NONE;
}

Loading…
Cancel
Save