• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision414ae4e81498e98a473b15dccedd3d7172d1fd29 (tree)
Time2019-07-26 20:16:24
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 do_cmd_disarm_chest() を exe_disarm_chest() に改名.

Change Summary

Incremental Difference

--- 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)
13701370 }
13711371
13721372 /*!
1373- * @brief 箱のトラップを解除するコマンドのメインルーチン /
1373+ * @brief 箱のトラップを解除する実行処理 /
13741374 * Perform the basic "disarm" command
13751375 * @param y 解除を行うマスのY座標
13761376 * @param x 解除を行うマスのX座標
@@ -1383,7 +1383,7 @@ bool easy_open_door(player_type *creature_ptr, POSITION y, POSITION x)
13831383 * Returns TRUE if repeated commands may continue
13841384 * </pre>
13851385 */
1386-static bool do_cmd_disarm_chest(player_type *creature_ptr, POSITION y, POSITION x, OBJECT_IDX o_idx)
1386+static bool exe_disarm_chest(player_type *creature_ptr, POSITION y, POSITION x, OBJECT_IDX o_idx)
13871387 {
13881388 int i, j;
13891389 bool more = FALSE;
@@ -1619,7 +1619,7 @@ void do_cmd_disarm(player_type *creature_ptr)
16191619 /* Disarm chest */
16201620 else if (o_idx)
16211621 {
1622- more = do_cmd_disarm_chest(creature_ptr, y, x, o_idx);
1622+ more = exe_disarm_chest(creature_ptr, y, x, o_idx);
16231623 }
16241624
16251625 /* Disarm trap */
Show on old repository browser