diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
commit | 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch) | |
tree | 3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/gamemodifiers.cpp | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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(); |