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:
parent
f8a96fae24
commit
092d9a4c62
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue