1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

better fix for bed activation

This commit is contained in:
scrawl 2012-12-03 05:32:12 +01:00
parent a6fd369e4e
commit ea2bbec76e

View file

@ -149,7 +149,6 @@ namespace MWGui
mCurHour = 0;
mRemainingTime = 0.05;
mProgressBar.setProgress (0, mHours);
mWindowManager.popGuiMode ();
}
void WaitDialog::onCancelButtonClicked(MyGUI::Widget* sender)
@ -205,6 +204,7 @@ namespace MWGui
MWBase::Environment::get().getWorld ()->getFader ()->fadeIn(0.2);
mProgressBar.setVisible (false);
mWindowManager.removeGuiMode (GM_Rest);
mWindowManager.removeGuiMode (GM_RestBed);
mWaiting = false;
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();