forked from mirror/openmw-tes3mp
Merge pull request #1342 from akortunov/screenfade
Fade screen in on a new game start
This commit is contained in:
commit
57a772c8d4
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