mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-07 04:15:34 +00:00
Merge pull request #3225 from akortunov/master
Do not display effects duration for ingredients
This commit is contained in:
commit
bae02d4ffc
2 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,7 @@
|
|||
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 #6517: Rotations for KeyframeData in NIFs should be optional
|
||||
Bug #6519: Effects tooltips for ingredients work incorrectly
|
||||
Feature #890: OpenMW-CS: Column filtering
|
||||
Feature #1465: "Reset" argument for AI functions
|
||||
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;
|
||||
int flag = info.isPotion ? Widgets::MWEffectList::EF_NoTarget : 0;
|
||||
flag |= info.isIngredient ? Widgets::MWEffectList::EF_NoMagnitude : 0;
|
||||
flag |= info.isIngredient ? Widgets::MWEffectList::EF_Constant : 0;
|
||||
effectsWidget->createEffectWidgets(effectItems, effectArea, coord, true, flag);
|
||||
totalSize.height += coord.top-6;
|
||||
totalSize.width = std::max(totalSize.width, coord.width);
|
||||
|
|
Loading…
Reference in a new issue