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

Prevent closing dialogue window when an answer is expected

This commit is contained in:
Emanuel Guevel 2013-01-15 00:53:32 +01:00
parent 33d1585a5e
commit f1f9173f24

View File

@ -381,6 +381,10 @@ namespace MWDialogue
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);
// Apply disposition change to NPC's base disposition