1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Merge branch 'effect_icons' into 'master'

Reset effect icon transparency when they're hidden (#5877)

Closes #5877

See merge request OpenMW/openmw!633
This commit is contained in:
AnyOldName3 2021-03-03 20:16:35 +00:00
commit da1d7d7480
2 changed files with 4 additions and 1 deletions

View file

@ -104,6 +104,7 @@
Bug #5840: GetSoundPlaying "Health Damage" doesn't play when NPC hits target with shield effect ( vanilla engine behavior )
Bug #5841: Can't Cast Zero Cost Spells When Magicka is < 0
Bug #5871: The console appears if you type the Russian letter "Ё" in the name of the enchantment
Bug #5877: Effects appearing with empty icon
Feature #390: 3rd person look "over the shoulder"
Feature #1536: Show more information about level on menu
Feature #2386: Distant Statics in the form of Object Paging

View file

@ -181,7 +181,9 @@ namespace MWGui
}
else if (mWidgetMap.find(effectId) != mWidgetMap.end())
{
mWidgetMap[effectId]->setVisible(false);
MyGUI::ImageBox* image = mWidgetMap[effectId];
image->setVisible(false);
image->setAlpha(1.f);
}
}