mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:53:52 +00:00
Prevent closing dialogue window when an answer is expected
This commit is contained in:
parent
33d1585a5e
commit
f1f9173f24
1 changed files with 4 additions and 0 deletions
|
@ -381,6 +381,10 @@ namespace MWDialogue
|
||||||
|
|
||||||
void DialogueManager::goodbyeSelected()
|
void DialogueManager::goodbyeSelected()
|
||||||
{
|
{
|
||||||
|
// Do not close the dialogue window if the player has to answer a question
|
||||||
|
if (mIsInChoice)
|
||||||
|
return;
|
||||||
|
|
||||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Dialogue);
|
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Dialogue);
|
||||||
|
|
||||||
// Apply disposition change to NPC's base disposition
|
// Apply disposition change to NPC's base disposition
|
||||||
|
|
Loading…
Reference in a new issue