mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Fade screen in on a new game start
This commit is contained in:
parent
9bc24ab629
commit
337f0f876d
@ -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…
x
Reference in New Issue
Block a user