変愚蛮怒のメインリポジトリです
Revision | e748aed2bea7ceac324559f3bb1d37f443c54518 (tree) |
---|---|
Time | 2020-03-15 11:50:24 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Fix] #40256 phase_out フラグが determine_daily_bounty() で常に true になる不具合を修正. / Fix that phase_out flag was always changed to true in determine_daily_bounty().
@@ -4015,6 +4015,7 @@ void do_cmd_bldg(player_type *player_ptr) | ||
4015 | 4015 | */ |
4016 | 4016 | void determine_daily_bounty(player_type *player_ptr, bool conv_old) |
4017 | 4017 | { |
4018 | + bool old_inside_battle = player_ptr->phase_out; | |
4018 | 4019 | int max_dl = 3, i; |
4019 | 4020 | if (!conv_old) |
4020 | 4021 | { |
@@ -4048,7 +4049,6 @@ void determine_daily_bounty(player_type *player_ptr, bool conv_old) | ||
4048 | 4049 | } |
4049 | 4050 | |
4050 | 4051 | player_ptr->today_mon = 0; |
4051 | - bool old_inside_battle = player_ptr->phase_out; | |
4052 | 4052 | player_ptr->phase_out = old_inside_battle; |
4053 | 4053 | } |
4054 | 4054 |