mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 08:09:42 +00:00
Fade screen in on a new game start
This commit is contained in:
parent
9bc24ab629
commit
337f0f876d
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ void MWState::StateManager::newGame (bool bypass)
|
||||||
MWBase::Environment::get().getWorld()->startNewGame (bypass);
|
MWBase::Environment::get().getWorld()->startNewGame (bypass);
|
||||||
|
|
||||||
mState = State_Running;
|
mState = State_Running;
|
||||||
|
|
||||||
|
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0);
|
||||||
|
MWBase::Environment::get().getWindowManager()->fadeScreenIn(1);
|
||||||
}
|
}
|
||||||
catch (std::exception& e)
|
catch (std::exception& e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue