mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-07 12:40:01 +00:00
Exit dialogue when going to jail (Fixes #1635)
This commit is contained in:
parent
0704fa2b3d
commit
53c70dbdaa
@ -2652,6 +2652,8 @@ namespace MWWorld
|
||||
{
|
||||
mGoToJail = false;
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Dialogue);
|
||||
|
||||
MWWorld::Ptr player = getPlayerPtr();
|
||||
teleportToClosestMarker(player, "prisonmarker");
|
||||
int bounty = player.getClass().getNpcStats(player).getBounty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user