• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision8b145af7043b370f94f8ed009d2b1086b9ca17e0 (tree)
Time2019-02-21 13:33:35
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 confirm_leave_level() をstatic化。 / confirm_leave_level() has static.

Change Summary

Incremental Difference

--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -32,7 +32,7 @@
3232 * @param down_stair TRUEならば階段を降りる処理、FALSEなら階段を昇る処理による内容
3333 * @return フロア移動を実際に行うならTRUE、キャンセルする場合はFALSE
3434 */
35-bool confirm_leave_level(bool down_stair)
35+static bool confirm_leave_level(bool down_stair)
3636 {
3737 quest_type *q_ptr = &quest[p_ptr->inside_quest];
3838
--- a/src/externs.h
+++ b/src/externs.h
@@ -542,7 +542,6 @@ extern bool cmd_limit_time_walk(player_type *creature_ptr);
542542 extern bool cmd_limit_blind(player_type *creature_ptr);
543543 extern bool cmd_limit_confused(player_type *creature_ptr);
544544 extern void forget_travel_flow(void);
545-extern bool confirm_leave_level(bool down_stair);
546545 extern void do_cmd_go_up(void);
547546 extern void do_cmd_go_down(void);
548547 extern void do_cmd_search(void);
Show on old repository browser