OSDN Git Service

[Feature] fresh_afterコマンドの分割
[hengbandforosx/hengbandosx.git] / src / spell-kind / spells-genocide.c
index f11bfba..54dcf7e 100644 (file)
@@ -4,6 +4,7 @@
 #include "core/stuff-handler.h"
 #include "core/window-redrawer.h"
 #include "dungeon/quest.h"
+#include "game-option/map-screen-options.h"
 #include "game-option/play-record-options.h"
 #include "game-option/special-options.h"
 #include "grid/grid.h"
@@ -98,10 +99,9 @@ bool genocide_aux(player_type *caster_ptr, MONSTER_IDX m_idx, int power, bool pl
 
     move_cursor_relative(caster_ptr->y, caster_ptr->x);
     caster_ptr->redraw |= (PR_HP);
-    caster_ptr->window |= (PW_PLAYER);
+    caster_ptr->window_flags |= (PW_PLAYER);
     handle_stuff(caster_ptr);
-    if (need_term_fresh())
-        term_fresh();
+    term_fresh();
 
     int msec = delay_factor * delay_factor * delay_factor;
     term_xtra(TERM_XTRA_DELAY, msec);
@@ -122,7 +122,7 @@ bool symbol_genocide(player_type *caster_ptr, int power, bool player_cast)
     is_special_floor |= caster_ptr->current_floor_ptr->inside_arena;
     is_special_floor |= caster_ptr->phase_out;
     if (is_special_floor) {
-        msg_print(_("何も起きないようだ……", "It seems nothing happen here..."));
+        msg_print(_("何も起きないようだ……", "Nothing seems to happen..."));
         return FALSE;
     }
 
@@ -220,4 +220,4 @@ bool mass_genocide_undead(player_type *caster_ptr, int power, bool player_cast)
     }
 
     return result;
-}
\ No newline at end of file
+}