1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Fix jail screen fading

This commit is contained in:
scrawl 2017-10-14 14:02:20 +00:00
parent f3ca9832b0
commit 548af6dbfb

View File

@ -58,6 +58,7 @@ namespace MWGui
{
MWWorld::Ptr player = MWMechanics::getPlayer();
MWBase::Environment::get().getWorld()->teleportToClosestMarker(player, "prisonmarker");
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0.f); // override fade-in caused by cell transition
setVisible(true);
mTimeAdvancer.run(100);