From 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 May 2015 18:29:07 +0300 Subject: Add strong typed bool type for modal bool flag. --- src/gamemodifiers.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gamemodifiers.cpp') diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp index 97e4df286..076cf2653 100644 --- a/src/gamemodifiers.cpp +++ b/src/gamemodifiers.cpp @@ -437,7 +437,11 @@ void GameModifiers::changeAwayMode(const bool forward A_UNUSED) config.getStringValue("afkMessage"), // TRANSLATORS: ok dialog button _("OK"), - DialogType::SILENCE, true, false, nullptr, 260); + DialogType::SILENCE, + Modal_true, + false, + nullptr, + 260); localPlayer->setAwayDialog(dialog); dialog->addActionListener(localPlayer->getAwayListener()); soundManager.volumeOff(); -- cgit v1.2.3-60-g2f50