From 86413eaa9a3c4d17783bf099e163e5c5c229c4d6 Mon Sep 17 00:00:00 2001 From: deskull Date: Sat, 4 May 2019 18:33:07 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#39076=20/*=20Command=20*/=E3=80=80?= =?utf8?q?=E3=81=A8=E3=80=80/*=20Obtain=20an=20object=20description=20*/?= =?utf8?q?=E3=80=80=E3=82=92=E5=89=8A=E9=99=A4=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/bldg.c | 1 - src/cmd-item.c | 1 - src/xtra2.c | 6 ------ 3 files changed, 8 deletions(-) diff --git a/src/bldg.c b/src/bldg.c index cd5eb3b74..d97d71df3 100644 --- a/src/bldg.c +++ b/src/bldg.c @@ -3802,7 +3802,6 @@ static bool research_mon(void) old_i = i; } - /* Command */ query = inkey(); /* Normal commands */ diff --git a/src/cmd-item.c b/src/cmd-item.c index bbe65572e..8a19a3d86 100644 --- a/src/cmd-item.c +++ b/src/cmd-item.c @@ -1457,7 +1457,6 @@ void do_cmd_query_symbol(void) /* Hack -- Complete the prompt */ Term_addstr(-1, TERM_WHITE, _(" ['r'思い出, ESC]", " [(r)ecall, ESC]")); - /* Command */ query = inkey(); /* Unrecall */ diff --git a/src/xtra2.c b/src/xtra2.c index a3934bb2b..e948ec22b 100644 --- a/src/xtra2.c +++ b/src/xtra2.c @@ -615,7 +615,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, concptr info) /* Hack -- Complete the prompt (again) */ Term_addstr(-1, TERM_WHITE, format(_(" [r思 %s%s]", " [r,%s%s]"), x_info, info)); - /* Command */ query = inkey(); screen_load(); @@ -646,7 +645,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, concptr info) /* Place cursor */ move_cursor_relative(y, x); - /* Command */ query = inkey(); /* Normal commands */ @@ -687,7 +685,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, concptr info) o_ptr = ¤t_floor_ptr->o_list[this_o_idx]; next_o_idx = o_ptr->next_o_idx; - /* Obtain an object description */ object_desc(o_name, o_ptr, 0); #ifdef JP @@ -743,7 +740,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, concptr info) prt(out_val, 0, 0); move_cursor_relative(y, x); - /* Command */ query = inkey(); /* End this grid */ @@ -763,7 +759,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, concptr info) prt(out_val, 0, 0); move_cursor_relative(y, x); - /* Command */ query = inkey(); /* No request for listing */ @@ -840,7 +835,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, concptr info) /* Not boring */ boring = FALSE; - /* Obtain an object description */ object_desc(o_name, o_ptr, 0); #ifdef JP -- 2.11.0