From 4f112ba3d76c02b9a91f5aee20631912d819fe44 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 10 Oct 2017 04:05:36 +0300 Subject: [PATCH] [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. --- apps/openmw/mwmp/GUIController.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/openmw/mwmp/GUIController.cpp b/apps/openmw/mwmp/GUIController.cpp index 9cd496887..e06b4248b 100644 --- a/apps/openmw/mwmp/GUIController.cpp +++ b/apps/openmw/mwmp/GUIController.cpp @@ -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 buttons; - buttons.push_back("Ok"); - windowManager->interactiveMessageBox(guiMessageBox.label, buttons); + windowManager->messageBox(guiMessageBox.label); calledMessageBox = true; }