• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisióndf74f106d33205d56e9dfbae6fbeb2b4c214119d (tree)
Tiempo2021-01-17 17:30:22
Autordis- <dis.rogue@gmai...>
Commiterdis-

Log Message

[Fix] #41148 壁抜け時のモンスターの挙動が従来通りでない
playerのno_flowedフラグ判定が呼び出されていなかった。
calc_bonuses内でコールするよう変更した。

Cambiar Resumen

Diferencia incremental

--- a/src/player/player-status-flags.c
+++ b/src/player/player-status-flags.c
@@ -331,7 +331,7 @@ BIT_FLAGS has_invuln_arrow(player_type *creature_ptr)
331331 return result;
332332 }
333333
334-void has_no_flowed(player_type *creature_ptr)
334+void check_no_flowed(player_type *creature_ptr)
335335 {
336336 object_type *o_ptr;
337337 bool has_sw = FALSE, has_kabe = FALSE;
--- a/src/player/player-status-flags.h
+++ b/src/player/player-status-flags.h
@@ -44,7 +44,7 @@ BIT_FLAGS has_easy2_weapon(player_type *creature_ptr);
4444 BIT_FLAGS has_down_saving(player_type *creature_ptr);
4545 BIT_FLAGS has_no_ac(player_type *creature_ptr);
4646 BIT_FLAGS has_invuln_arrow(player_type *creature_ptr);
47-void has_no_flowed(player_type *creature_ptr);
47+void check_no_flowed(player_type *creature_ptr);
4848 BIT_FLAGS has_mighty_throw(player_type *creature_ptr);
4949 BIT_FLAGS has_dec_mana(player_type *creature_ptr);
5050 BIT_FLAGS has_reflect(player_type *creature_ptr);
--- a/src/player/player-status.c
+++ b/src/player/player-status.c
@@ -482,6 +482,7 @@ void calc_bonuses(player_type *creature_ptr)
482482 return;
483483
484484 put_equipment_warning(creature_ptr);
485+ check_no_flowed(creature_ptr);
485486 }
486487
487488 static void calc_alignment(player_type *creature_ptr)
Show on old repository browser