OSDN Git Service

Merge remote-tracking branch 'remotes/origin/feature/Fix-Auto-More' into develop
[hengband/hengband.git] / src / mspell / mspell-ball.c
index 1a568d2..23a72cf 100644 (file)
@@ -1,13 +1,17 @@
 #include "mspell/mspell-ball.h"
-#include "floor/floor.h"
+#include "main/sound-of-music.h"
 #include "mind/drs-types.h"
 #include "monster-race/race-indice-types.h"
+#include "monster/monster-info.h"
 #include "monster/monster-status.h"
-#include "mspell/monster-spell.h"
+#include "monster/monster-update.h"
+#include "mspell/mspell-checker.h"
 #include "mspell/mspell-damage-calculator.h"
 #include "mspell/mspell-type.h"
 #include "mspell/mspell-util.h"
-#include "spell/spells-type.h"
+#include "spell/spell-types.h"
+#include "system/floor-type-definition.h"
+#include "view/display-messages.h"
 
 /*!
  * @brief RF4_BA_NUKEの処理。放射能球。 /
@@ -236,7 +240,7 @@ HIT_POINT spell_RF5_BA_WATE(player_type *target_ptr, POSITION y, POSITION x, MON
 {
     HIT_POINT dam;
     bool known = monster_near_player(target_ptr->current_floor_ptr, m_idx, t_idx);
-    bool see_either = see_monster(target_ptr->current_floor_ptr, m_idx) || see_monster(target_ptr->current_floor_ptr, t_idx);
+    bool see_either = see_monster(target_ptr, m_idx) || see_monster(target_ptr, t_idx);
     bool mon_to_mon = (TARGET_TYPE == MONSTER_TO_MONSTER);
     bool mon_to_player = (TARGET_TYPE == MONSTER_TO_PLAYER);
     GAME_TEXT t_name[MAX_NLEN];