• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionb9354afbe35264e953ae856d406e47b6112bb275 (tree)
Time2019-06-20 21:39:04
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 do_cmd_open_chest() を exe_open_chest() に改名.

Change Summary

Incremental Difference

--- a/src/cmd-basic.c
+++ b/src/cmd-basic.c
@@ -543,7 +543,7 @@ static OBJECT_IDX chest_check(POSITION y, POSITION x, bool trapped)
543543 }
544544
545545 /*!
546- * @brief 箱を開けるコマンドのメインルーチン /
546+ * @brief 箱を開ける実行処理 /
547547 * Attempt to open the given chest at the given location
548548 * @param y 箱の存在するマスのY座標
549549 * @param x 箱の存在するマスのX座標
@@ -552,7 +552,7 @@ static OBJECT_IDX chest_check(POSITION y, POSITION x, bool trapped)
552552 * @details
553553 * Assume there is no monster blocking the destination
554554 */
555-static bool do_cmd_open_chest(player_type *creature_ptr, POSITION y, POSITION x, OBJECT_IDX o_idx)
555+static bool exe_open_chest(player_type *creature_ptr, POSITION y, POSITION x, OBJECT_IDX o_idx)
556556 {
557557 int i, j;
558558 bool flag = TRUE;
@@ -890,7 +890,7 @@ void do_cmd_open(player_type *creature_ptr)
890890 }
891891 else if (o_idx)
892892 {
893- more = do_cmd_open_chest(creature_ptr, y, x, o_idx);
893+ more = exe_open_chest(creature_ptr, y, x, o_idx);
894894 }
895895 else
896896 {
Show on old repository browser