From 1abff5365bb31378047bab5692608fc787125947 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Thu, 24 May 2018 12:57:29 +0400 Subject: [PATCH] Capitalize enchanted items names again in spells window --- apps/openmw/mwgui/spellmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/spellmodel.cpp b/apps/openmw/mwgui/spellmodel.cpp index d1db582d2..a73d343f9 100644 --- a/apps/openmw/mwgui/spellmodel.cpp +++ b/apps/openmw/mwgui/spellmodel.cpp @@ -108,7 +108,7 @@ namespace MWGui Spell newSpell; newSpell.mItem = item; newSpell.mId = item.getCellRef().getRefId(); - newSpell.mName = name; + newSpell.mName = item.getClass().getName(item); newSpell.mType = Spell::Type_EnchantedItem; newSpell.mSelected = invStore.getSelectedEnchantItem() == it;