summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-01 02:43:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-01 02:43:22 +0300
commitd97fabc2a9408a35ecfab733573b6b7592922f0d (patch)
tree8edb9801f0ce4ca5274c3421d95cf417eaeb7820 /src/net/ea/playerhandler.cpp
parentf1e7947192d72d1807eb0497756a5d09c91a1766 (diff)
downloadplus-d97fabc2a9408a35ecfab733573b6b7592922f0d.tar.gz
plus-d97fabc2a9408a35ecfab733573b6b7592922f0d.tar.bz2
plus-d97fabc2a9408a35ecfab733573b6b7592922f0d.tar.xz
plus-d97fabc2a9408a35ecfab733573b6b7592922f0d.zip
Fix modal state for some dialogs.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index a0cddc219..bfbef0798 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -432,7 +432,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg)
if (PlayerInfo::getAttribute(HP) == 0 && !deathNotice)
{
deathNotice = new OkDialog(_("Message"),
- randomDeathMessage(), false);
+ randomDeathMessage(), DIALOG_OK, false);
deathNotice->addActionListener(&deathListener);
player_node->setAction(Being::DEAD);
}