From 414ae4e81498e98a473b15dccedd3d7172d1fd29 Mon Sep 17 00:00:00 2001 From: deskull Date: Fri, 26 Jul 2019 20:16:24 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#39321=20do=5Fcmd=5Fdisarm=5Fchest(?= =?utf8?q?)=20=E3=82=92=20exe=5Fdisarm=5Fchest()=20=E3=81=AB=E6=94=B9?= =?utf8?q?=E5=90=8D=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd-basic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd-basic.c b/src/cmd-basic.c index c24619616..e0fded486 100644 --- a/src/cmd-basic.c +++ b/src/cmd-basic.c @@ -1370,7 +1370,7 @@ bool easy_open_door(player_type *creature_ptr, POSITION y, POSITION x) } /*! - * @brief 箱のトラップを解除するコマンドのメインルーチン / + * @brief 箱のトラップを解除する実行処理 / * Perform the basic "disarm" command * @param y 解除を行うマスのY座標 * @param x 解除を行うマスのX座標 @@ -1383,7 +1383,7 @@ bool easy_open_door(player_type *creature_ptr, POSITION y, POSITION x) * Returns TRUE if repeated commands may continue * */ -static bool do_cmd_disarm_chest(player_type *creature_ptr, POSITION y, POSITION x, OBJECT_IDX o_idx) +static bool exe_disarm_chest(player_type *creature_ptr, POSITION y, POSITION x, OBJECT_IDX o_idx) { int i, j; bool more = FALSE; @@ -1619,7 +1619,7 @@ void do_cmd_disarm(player_type *creature_ptr) /* Disarm chest */ else if (o_idx) { - more = do_cmd_disarm_chest(creature_ptr, y, x, o_idx); + more = exe_disarm_chest(creature_ptr, y, x, o_idx); } /* Disarm trap */ -- 2.11.0