1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

[Client] Use regular message boxes where expected to do so

This helps us move towards using the same terminology as OpenMW for GUI elements, leading to less confusion.
This commit is contained in:
David Cernat 2017-10-10 04:05:36 +03:00
parent 41ff3fee89
commit 4f112ba3d7

View file

@ -118,9 +118,7 @@ void mwmp::GUIController::showDialogList(const mwmp::BasePlayer::GUIMessageBox &
void mwmp::GUIController::showMessageBox(const BasePlayer::GUIMessageBox &guiMessageBox)
{
MWBase::WindowManager *windowManager = MWBase::Environment::get().getWindowManager();
std::vector<std::string> buttons;
buttons.push_back("Ok");
windowManager->interactiveMessageBox(guiMessageBox.label, buttons);
windowManager->messageBox(guiMessageBox.label);
calledMessageBox = true;
}