From: deskull Date: Fri, 26 Jul 2019 11:16:24 +0000 (+0900) Subject: [Refactor] #39321 do_cmd_disarm_chest() を exe_disarm_chest() に改名. X-Git-Tag: vmacos3.0.0-alpha52~2880 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=414ae4e81498e98a473b15dccedd3d7172d1fd29;p=hengbandforosx%2Fhengbandosx.git [Refactor] #39321 do_cmd_disarm_chest() を exe_disarm_chest() に改名. --- 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 */