diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-08-22 22:11:33 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-08-22 22:11:33 +0000 |
commit | 09dce482889058573032abacab409c29ccd6c652 (patch) | |
tree | 0a92c0a1c1a0e87327ca596434fa57b4e925465e /src/game.cpp | |
parent | 097ef85eed1e7ea957f3204f4601a2ae63ba20f7 (diff) | |
download | mana-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.cpp | 9 |
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()) { |