mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
Merge pull request #1342 from akortunov/screenfade
Fade screen in on a new game start
This commit is contained in:
commit
57a772c8d4
@ -146,6 +146,9 @@ void MWState::StateManager::newGame (bool bypass)
|
||||
MWBase::Environment::get().getWorld()->startNewGame (bypass);
|
||||
|
||||
mState = State_Running;
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0);
|
||||
MWBase::Environment::get().getWindowManager()->fadeScreenIn(1);
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user