mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Update a disposition bar when a dialogue widget is disabled, but visible
This commit is contained in:
parent
8f1c8759e4
commit
ac2f20f983
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ namespace MWGui
|
|||
|
||||
void DialogueWindow::onFrame()
|
||||
{
|
||||
if(mMainWidget->getVisible() && mEnabled && mPtr.getTypeName() == typeid(ESM::NPC).name())
|
||||
if(mMainWidget->getVisible() && mPtr.getTypeName() == typeid(ESM::NPC).name())
|
||||
{
|
||||
int disp = MWBase::Environment::get().getMechanicsManager()->getDerivedDisposition(mPtr);
|
||||
mDispositionBar->setProgressRange(100);
|
||||
|
|
Loading…
Reference in a new issue