forked from mirror/openmw-tes3mp
Fix owned tooltip in the spellwindow
This commit is contained in:
parent
e2afd3690c
commit
ad27e0f945
1 changed files with 1 additions and 2 deletions
|
@ -191,8 +191,7 @@ namespace MWGui
|
||||||
else if (type == "ItemPtr")
|
else if (type == "ItemPtr")
|
||||||
{
|
{
|
||||||
mFocusObject = *focus->getUserData<MWWorld::Ptr>();
|
mFocusObject = *focus->getUserData<MWWorld::Ptr>();
|
||||||
bool isAllowedToUse = checkOwned();
|
tooltipSize = getToolTipViaPtr(mFocusObject.getRefData().getCount(), false, checkOwned());
|
||||||
tooltipSize = getToolTipViaPtr(mFocusObject.getRefData().getCount(), false, !isAllowedToUse);
|
|
||||||
}
|
}
|
||||||
else if (type == "ItemModelIndex")
|
else if (type == "ItemModelIndex")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue