summaryrefslogtreecommitdiff
path: root/src/net/ea/gamehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-16 17:21:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-16 17:21:24 +0300
commit396b3e298b21677ebe3c6f5c2f5b837ac25625f2 (patch)
tree01cfca3609db046afebe5c9e11ba0a5a803e378f /src/net/ea/gamehandler.cpp
parente50013d92b22faeffb8711d07a8f344ab71e9e57 (diff)
downloadmanaverse-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.gz
manaverse-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.bz2
manaverse-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.xz
manaverse-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.zip
Move dialog type into separate file.
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r--src/net/ea/gamehandler.cpp5
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()