diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-16 17:21:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-16 17:21:24 +0300 |
commit | 396b3e298b21677ebe3c6f5c2f5b837ac25625f2 (patch) | |
tree | 01cfca3609db046afebe5c9e11ba0a5a803e378f /src/net/ea/gamehandler.cpp | |
parent | e50013d92b22faeffb8711d07a8f344ab71e9e57 (diff) | |
download | manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.gz manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.bz2 manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.xz manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.zip |
Move dialog type into separate file.
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r-- | src/net/ea/gamehandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index b0be76ac6..3d7da6247 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -85,7 +85,10 @@ void GameHandler::processCharSwitchResponse(Net::MessageIn &msg) const void GameHandler::processMapQuitResponse(Net::MessageIn &msg) const { if (msg.readInt8()) - new OkDialog(_("Game"), _("Request to quit denied!"), DIALOG_ERROR); + { + new OkDialog(_("Game"), _("Request to quit denied!"), + DialogType::ERROR); + } } void GameHandler::clear() |