変愚蛮怒のメインリポジトリです
Revisión | df74f106d33205d56e9dfbae6fbeb2b4c214119d (tree) |
---|---|
Tiempo | 2021-01-17 17:30:22 |
Autor | dis- <dis.rogue@gmai...> |
Commiter | dis- |
[Fix] #41148 壁抜け時のモンスターの挙動が従来通りでない
playerのno_flowedフラグ判定が呼び出されていなかった。
calc_bonuses内でコールするよう変更した。
@@ -331,7 +331,7 @@ BIT_FLAGS has_invuln_arrow(player_type *creature_ptr) | ||
331 | 331 | return result; |
332 | 332 | } |
333 | 333 | |
334 | -void has_no_flowed(player_type *creature_ptr) | |
334 | +void check_no_flowed(player_type *creature_ptr) | |
335 | 335 | { |
336 | 336 | object_type *o_ptr; |
337 | 337 | bool has_sw = FALSE, has_kabe = FALSE; |
@@ -44,7 +44,7 @@ BIT_FLAGS has_easy2_weapon(player_type *creature_ptr); | ||
44 | 44 | BIT_FLAGS has_down_saving(player_type *creature_ptr); |
45 | 45 | BIT_FLAGS has_no_ac(player_type *creature_ptr); |
46 | 46 | 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); | |
48 | 48 | BIT_FLAGS has_mighty_throw(player_type *creature_ptr); |
49 | 49 | BIT_FLAGS has_dec_mana(player_type *creature_ptr); |
50 | 50 | BIT_FLAGS has_reflect(player_type *creature_ptr); |
@@ -482,6 +482,7 @@ void calc_bonuses(player_type *creature_ptr) | ||
482 | 482 | return; |
483 | 483 | |
484 | 484 | put_equipment_warning(creature_ptr); |
485 | + check_no_flowed(creature_ptr); | |
485 | 486 | } |
486 | 487 | |
487 | 488 | static void calc_alignment(player_type *creature_ptr) |