From: Hourier Date: Tue, 21 Apr 2020 14:21:50 +0000 (+0900) Subject: [Refactor] #40236 Renamed stay_inn() to write_diary_stay_inn() X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=15f25a6acc17af0464fbe0c31e5ba278731103e7;p=hengband%2Fhengband.git [Refactor] #40236 Renamed stay_inn() to write_diary_stay_inn() --- diff --git a/src/cmd/cmd-inn.c b/src/cmd/cmd-inn.c index 7934d5874..4d42fb710 100644 --- a/src/cmd/cmd-inn.c +++ b/src/cmd/cmd-inn.c @@ -48,7 +48,7 @@ static bool is_healthy_stay(player_type *customer_ptr) * @param prev_hour 宿屋に入った直後のゲーム内時刻 * @return なし */ -static void stay_inn(player_type *customer_ptr, int prev_hour) +static void write_diary_stay_inn(player_type *customer_ptr, int prev_hour) { bool is_player_undead = PRACE_IS_(customer_ptr, RACE_SKELETON) || PRACE_IS_(customer_ptr, RACE_ZOMBIE) || @@ -192,7 +192,7 @@ bool inn_comm(player_type *customer_ptr, int cmd) int prev_day, prev_hour, prev_min; extract_day_hour_min(customer_ptr, &prev_day, &prev_hour, &prev_min); - stay_inn(customer_ptr, prev_hour); + write_diary_stay_inn(customer_ptr, prev_hour); pass_game_turn_by_stay(); prevent_turn_overflow(customer_ptr);