Fix jail screen fading

new-script-api
scrawl 7 years ago
parent f3ca9832b0
commit 548af6dbfb

@ -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…
Cancel
Save