mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-17 11:43:25 +00:00
Bugfix #744
This commit is contained in:
parent
f2a5377b2b
commit
6222b3f52a
@ -1110,6 +1110,13 @@ namespace MWGui
|
||||
{
|
||||
mLoadingScreen->loadingDone ();
|
||||
}
|
||||
bool WindowManager::getRestEnabled()
|
||||
{
|
||||
//Enable rest dialogue if character creation finished
|
||||
if(mRestAllowed==false && MWBase::Environment::get().getWorld()->getGlobalVariable ("chargenstate").mFloat==-1)
|
||||
mRestAllowed=true;
|
||||
return mRestAllowed;
|
||||
}
|
||||
|
||||
bool WindowManager::getPlayerSleeping ()
|
||||
{
|
||||
|
@ -220,7 +220,7 @@ namespace MWGui
|
||||
virtual void loadingDone();
|
||||
|
||||
virtual void enableRest() { mRestAllowed = true; }
|
||||
virtual bool getRestEnabled() { return mRestAllowed; }
|
||||
virtual bool getRestEnabled();
|
||||
|
||||
virtual bool getPlayerSleeping();
|
||||
virtual void wakeUpPlayer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user