diff --git a/apps/openmw/mwworld/inventorystore.cpp b/apps/openmw/mwworld/inventorystore.cpp index 3ab48bafd8..86af303341 100644 --- a/apps/openmw/mwworld/inventorystore.cpp +++ b/apps/openmw/mwworld/inventorystore.cpp @@ -54,8 +54,6 @@ void MWWorld::InventoryStore::storeEquipmentState( inventory.mEquipmentSlots[static_cast(index)] = i; } - // I'm not sure if the narrowing cast below is safe, but I think it'd break the save format if I widen the - // destination type if (mSelectedEnchantItem.getType() != -1 && mSelectedEnchantItem->getBase() == &ref) inventory.mSelectedEnchantItem = static_cast(index); }