summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2009-10-01 19:56:50 +0300
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-13 11:54:05 +0100
commit0cf7a6a12f361faf7a2a1c01b14d6c33fe811d62 (patch)
tree557546557020fefd36525c58cbec0f640bdd4893 /src/net/ea/playerhandler.cpp
parentc57aeeaf880a416c1c25b2e2684a571fdb17f6c4 (diff)
downloadmana-0cf7a6a12f361faf7a2a1c01b14d6c33fe811d62.tar.gz
mana-0cf7a6a12f361faf7a2a1c01b14d6c33fe811d62.tar.bz2
mana-0cf7a6a12f361faf7a2a1c01b14d6c33fe811d62.tar.xz
mana-0cf7a6a12f361faf7a2a1c01b14d6c33fe811d62.zip
Allow player to talk after death
Mantis-issue: 938 (TMW Mantis)
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 33a6b146..7fb4dab9 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -310,7 +310,8 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
if (player_node->getHp() == 0 && !deathNotice)
{
deathNotice = new OkDialog(_("Message"),
- randomDeathMessage());
+ randomDeathMessage(),
+ false);
deathNotice->addActionListener(&deathListener);
player_node->setAction(Being::DEAD);
}