1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +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);
}
}