diff --git a/Source/loadsave.cpp b/Source/loadsave.cpp index 8ed5e3408..0b1acb4ad 100644 --- a/Source/loadsave.cpp +++ b/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; }