From 002781358d7a5616e17c68154eca4c78da64017e Mon Sep 17 00:00:00 2001 From: nothere Date: Thu, 4 Dec 2003 20:53:45 +0000 Subject: [PATCH] =?utf8?q?=E3=82=A6=E3=82=A3=E3=82=B6=E3=83=BC=E3=83=89?= =?utf8?q?=E3=83=A2=E3=83=BC=E3=83=89=E3=82=84cheat=5Fdeath=E3=81=A7?= =?utf8?q?=E3=81=AE=E5=BE=A9=E6=B4=BB=E6=99=82=E3=81=AB=E3=82=B9=E3=83=86?= =?utf8?q?=E3=83=BC=E3=82=BF=E3=82=B9=E7=95=B0=E5=B8=B8=E3=81=8C=E5=9B=9E?= =?utf8?q?=E5=BE=A9=E3=81=97=E3=81=AA=E3=81=8B=E3=81=A3=20=E3=81=9F?= =?utf8?q?=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3.=20p=5Fptr->is=5Fd?= =?utf8?q?ead=20=3D=20FALSE;=E3=81=AE=E5=BE=8C=E3=81=ABset=5F*()=E3=82=92?= =?utf8?q?=E7=BD=AE=E3=81=8F=E5=BF=85=E8=A6=81=E3=81=8C=E3=81=82=E3=81=A3?= =?utf8?q?=E3=81=9F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/dungeon.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/dungeon.c b/src/dungeon.c index d22233f11..2f52e419c 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -7246,19 +7246,6 @@ msg_print(" p_ptr->csp = p_ptr->msp; p_ptr->csp_frac = 0; - /* Hack -- Healing */ - (void)set_blind(0); - (void)set_confused(0); - (void)set_poisoned(0); - (void)set_afraid(0); - (void)set_paralyzed(0); - (void)set_image(0); - (void)set_stun(0); - (void)set_cut(0); - - /* Hack -- Prevent starvation */ - (void)set_food(PY_FOOD_MAX - 1); - /* Hack -- cancel recall */ if (p_ptr->word_recall) { @@ -7286,15 +7273,27 @@ msg_print("Ä¥ /* Note cause of death XXX XXX XXX */ #ifdef JP -(void)strcpy(p_ptr->died_from, "»à¤Îµ½¤­"); + (void)strcpy(p_ptr->died_from, "»à¤Îµ½¤­"); #else (void)strcpy(p_ptr->died_from, "Cheating death"); #endif - /* Do not die */ p_ptr->is_dead = FALSE; + /* Hack -- Healing */ + (void)set_blind(0); + (void)set_confused(0); + (void)set_poisoned(0); + (void)set_afraid(0); + (void)set_paralyzed(0); + (void)set_image(0); + (void)set_stun(0); + (void)set_cut(0); + + /* Hack -- Prevent starvation */ + (void)set_food(PY_FOOD_MAX - 1); + dun_level = 0; p_ptr->inside_arena = FALSE; p_ptr->inside_battle = FALSE; -- 2.11.0