1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-16 15:46:34 +00:00

Remove dumb comment

This commit is contained in:
AnyOldName3 2025-07-24 00:35:22 +01:00
parent f8a96fae24
commit 092d9a4c62

View file

@ -54,8 +54,6 @@ void MWWorld::InventoryStore::storeEquipmentState(
inventory.mEquipmentSlots[static_cast<uint32_t>(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<uint32_t>(index);
}