mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Resovles #6519 Do not display effects duration for ingredient
This commit is contained in:
parent
a3d3c29ff9
commit
81c9ef947f
@ -92,6 +92,7 @@
|
|||||||
Bug #6473: Strings from NIF should be parsed only to first null terminator
|
Bug #6473: Strings from NIF should be parsed only to first null terminator
|
||||||
Bug #6493: Unlocking owned but not locked or unlocked containers is considered a crime
|
Bug #6493: Unlocking owned but not locked or unlocked containers is considered a crime
|
||||||
Bug #6517: Rotations for KeyframeData in NIFs should be optional
|
Bug #6517: Rotations for KeyframeData in NIFs should be optional
|
||||||
|
Bug #6519: Effects tooltips for ingredients work incorrectly
|
||||||
Feature #890: OpenMW-CS: Column filtering
|
Feature #890: OpenMW-CS: Column filtering
|
||||||
Feature #1465: "Reset" argument for AI functions
|
Feature #1465: "Reset" argument for AI functions
|
||||||
Feature #2554: Modifying an object triggers the instances table to scroll to the corresponding record
|
Feature #2554: Modifying an object triggers the instances table to scroll to the corresponding record
|
||||||
|
@ -493,6 +493,7 @@ namespace MWGui
|
|||||||
std::vector<MyGUI::Widget*> effectItems;
|
std::vector<MyGUI::Widget*> effectItems;
|
||||||
int flag = info.isPotion ? Widgets::MWEffectList::EF_NoTarget : 0;
|
int flag = info.isPotion ? Widgets::MWEffectList::EF_NoTarget : 0;
|
||||||
flag |= info.isIngredient ? Widgets::MWEffectList::EF_NoMagnitude : 0;
|
flag |= info.isIngredient ? Widgets::MWEffectList::EF_NoMagnitude : 0;
|
||||||
|
flag |= info.isIngredient ? Widgets::MWEffectList::EF_Constant : 0;
|
||||||
effectsWidget->createEffectWidgets(effectItems, effectArea, coord, true, flag);
|
effectsWidget->createEffectWidgets(effectItems, effectArea, coord, true, flag);
|
||||||
totalSize.height += coord.top-6;
|
totalSize.height += coord.top-6;
|
||||||
totalSize.width = std::max(totalSize.width, coord.width);
|
totalSize.width = std::max(totalSize.width, coord.width);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user