From bfe2e82cef34cfa25629dd6b35700a09fe4cdf66 Mon Sep 17 00:00:00 2001 From: Hourier Date: Sat, 9 May 2020 18:55:37 +0900 Subject: [PATCH] [Refactor] #39970 Renamed process_world_aux_timeout() to reduce_magic_effects_timeout() --- src/core.c | 2 +- src/core/magic-effects-timeout-reducer.c | 2 +- src/core/magic-effects-timeout-reducer.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core.c b/src/core.c index bbdc92a25..0bc755aee 100644 --- a/src/core.c +++ b/src/core.c @@ -1018,7 +1018,7 @@ static void process_world(player_type *player_ptr) process_world_aux_digestion(player_ptr); process_player_hp_mp(player_ptr); - process_world_aux_timeout(player_ptr); + reduce_magic_effects_timeout(player_ptr); reduce_lite_life(player_ptr); process_world_aux_mutation(player_ptr); process_world_aux_curse(player_ptr); diff --git a/src/core/magic-effects-timeout-reducer.c b/src/core/magic-effects-timeout-reducer.c index 8fc16f5e2..1e4097fbe 100644 --- a/src/core/magic-effects-timeout-reducer.c +++ b/src/core/magic-effects-timeout-reducer.c @@ -7,7 +7,7 @@ * / Handle timeout every 10 game turns * @return なし */ -void process_world_aux_timeout(player_type* creature_ptr) +void reduce_magic_effects_timeout(player_type* creature_ptr) { const int dec_count = (easy_band ? 2 : 1); if (creature_ptr->tim_mimic) { diff --git a/src/core/magic-effects-timeout-reducer.h b/src/core/magic-effects-timeout-reducer.h index 004ad0d32..62050aea8 100644 --- a/src/core/magic-effects-timeout-reducer.h +++ b/src/core/magic-effects-timeout-reducer.h @@ -1,3 +1,3 @@ #pragma once -void process_world_aux_timeout(player_type* creature_ptr); +void reduce_magic_effects_timeout(player_type* creature_ptr); -- 2.11.0