forked from mirror/openmw-tes3mp
Fix jail screen fading
This commit is contained in:
parent
f3ca9832b0
commit
548af6dbfb
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
MWWorld::Ptr player = MWMechanics::getPlayer();
|
MWWorld::Ptr player = MWMechanics::getPlayer();
|
||||||
MWBase::Environment::get().getWorld()->teleportToClosestMarker(player, "prisonmarker");
|
MWBase::Environment::get().getWorld()->teleportToClosestMarker(player, "prisonmarker");
|
||||||
|
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0.f); // override fade-in caused by cell transition
|
||||||
|
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
mTimeAdvancer.run(100);
|
mTimeAdvancer.run(100);
|
||||||
|
|
Loading…
Reference in a new issue