|
|
|
@ -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();
|
|
|
|
|