From 09dce482889058573032abacab409c29ccd6c652 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 22 Aug 2005 22:11:33 +0000 Subject: Enable Enter to deathNotice Dialog to resurrect. Todo: See how to remove a bit duplicated code. --- src/game.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/game.cpp') 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()) { -- cgit v1.2.3-70-g09d2