summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-08-22 22:11:33 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-08-22 22:11:33 +0000
commit09dce482889058573032abacab409c29ccd6c652 (patch)
tree0a92c0a1c1a0e87327ca596434fa57b4e925465e /src/game.cpp
parent097ef85eed1e7ea957f3204f4601a2ae63ba20f7 (diff)
downloadmana-client-09dce482889058573032abacab409c29ccd6c652.tar.gz
mana-client-09dce482889058573032abacab409c29ccd6c652.tar.bz2
mana-client-09dce482889058573032abacab409c29ccd6c652.tar.xz
mana-client-09dce482889058573032abacab409c29ccd6c652.zip
Enable Enter to deathNotice Dialog to resurrect. Todo: See how to remove a bit duplicated code.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 05c5f13b..f4241d0d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -498,6 +498,15 @@ void do_input()
{
state = EXIT;
}
+ // Accept the Death Notice...
+ else if (deathNotice)
+ {
+ deathNotice->action("ok");
+ WFIFOW(0) = net_w_value(0x00b2);
+ WFIFOB(2) = 0;
+ WFIFOSET(3);
+ deathNotice = NULL;
+ }
// Close the Browser if opened
else if (helpWindow->isVisible())
{