From cbeb4cfbd91f3851c785761cf8860455346add03 Mon Sep 17 00:00:00 2001 From: nothere Date: Mon, 24 May 2004 17:23:14 +0000 Subject: [PATCH] =?utf8?q?=EF=BD=BD=EF=BD=A4=EF=BD=B9=EF=BE=94=EF=BE=81?= =?utf8?q?=EF=BE=8E=EF=BD=A4=EF=BE=8E=EF=BD=B9=EF=BD=BD=EF=BD=A4=EF=BD=A8?= =?utf8?q?=EF=BE=81=EF=BD=AA=EF=BE=82=EE=87=AF=EF=BE=86=EF=BD=A4=EF=BE=93?= =?utf8?q?=EF=BD=BD=EF=BE=90=EF=BD=A4=EF=BD=B7,=20=EF=BD=B7=EE=90=A8?= =?utf8?q?=EF=BE=91=EF=BD=B2=EF=BE=88=EF=BD=A4=EF=BE=8E=EF=BD=B7=EF=BD=BF?= =?utf8?q?=EF=BE=81=EF=BD=AA=EF=BE=82=EE=87=AF=EF=BE=86=EF=BD=A4=EF=BE=93?= =?utf8?q?=EF=BD=BD=EF=BE=90=EF=BD=A4=EF=BD=B7=EF=BD=A4=EF=BE=8E=EF=BD=BA?= =?utf8?q?=EF=BE=99=EF=BD=A4=EF=BD=AB=EF=BD=A4=EF=BD=A4=EF=BD=BD=EF=BD=A4?= =?utf8?q?=EF=BE=80=EF=BD=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/racial.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/racial.c b/src/racial.c index 7705512f0..8a35d350a 100644 --- a/src/racial.c +++ b/src/racial.c @@ -470,7 +470,7 @@ static bool choose_kamae(void) screen_load(); return FALSE; } - else if ((choice == 'a') || (choice == 'A') || (choice == ESCAPE)) + else if ((choice == 'a') || (choice == 'A')) { if (p_ptr->action == ACTION_KAMAE) { @@ -608,7 +608,7 @@ static bool choose_kata(void) screen_load(); return FALSE; } - else if ((choice == 'a') || (choice == 'A') || (choice == ESCAPE)) + else if ((choice == 'a') || (choice == 'A')) { if (p_ptr->action == ACTION_KATA) { @@ -1021,10 +1021,8 @@ static bool cmd_racial_power_aux(s32b command) if (command == -3) { - if (choose_kamae()) energy_use = 100; - else energy_use = 0; + if (!choose_kamae()) return FALSE; p_ptr->update |= (PU_BONUS); - p_ptr->redraw |= (PR_ARMOR); } else if (command == -4) { @@ -1205,10 +1203,8 @@ static bool cmd_racial_power_aux(s32b command) #endif return FALSE; } - if (choose_kata()) energy_use = 100; - else energy_use = 0; + if (!choose_kata()) return FALSE; p_ptr->update |= (PU_BONUS); - p_ptr->redraw |= (PR_ARMOR); } break; } -- 2.11.0