1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 03:39:55 +00:00

Fix Calvus Horatius AiFollow package not being removed after he quits as result of negative profit

This commit is contained in:
scrawl 2014-09-18 04:26:12 +02:00
parent ac97a0f99d
commit 08499ea51f

View File

@ -151,7 +151,8 @@ void CompanionWindow::onMessageBoxButtonClicked(int button)
"minimumprofit", mPtr.getClass().getNpcStats(mPtr).getProfit());
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Companion);
MWBase::Environment::get().getDialogueManager()->startDialogue (mPtr);
// Important for Calvus' contract script to work properly
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Dialogue);
}
}