OSDN Git Service

[Fix] 残り1回の鑑定の杖を使った時にサブウィンドウの持ち物一覧が更新されない #4
[hengbandforosx/hengbandosx.git] / src / mind / mind-mirror-master.c
index 0993398..5e9ca2b 100644 (file)
@@ -12,6 +12,7 @@
 #include "effect/spells-effect-util.h"
 #include "floor/cave.h"
 #include "game-option/disturbance-options.h"
+#include "game-option/map-screen-options.h"
 #include "game-option/special-options.h"
 #include "grid/feature.h"
 #include "io/cursor.h"
@@ -168,7 +169,7 @@ bool binding_field(player_type *caster_ptr, HIT_POINT dam)
                         u16b p = bolt_pict(y, x, y, x, GF_MANA);
                         print_rel(caster_ptr, PICT_C(p), PICT_A(p), y, x);
                         move_cursor_relative(y, x);
-                        if (need_term_fresh(caster_ptr)) {
+                        if (fresh_after) {
                             term_fresh();
                             term_xtra(TERM_XTRA_DELAY, msec);
                         }
@@ -542,4 +543,4 @@ bool cast_mirror_spell(player_type *caster_ptr, mind_mirror_master_type spell)
 
     caster_ptr->magic_num1[0] = 0;
     return TRUE;
-}
\ No newline at end of file
+}