From 092d9a4c621cf0e5b9364045b8c86ab4f22ef105 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Thu, 24 Jul 2025 00:35:22 +0100 Subject: [PATCH] Remove dumb comment --- apps/openmw/mwworld/inventorystore.cpp | 2 -- 1 file changed, 2 deletions(-) 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); }