OSDN Git Service

[Fix] 引数のxyが逆だった
authorshimitei <shimitei@gmail.com>
Fri, 20 Aug 2021 10:35:33 +0000 (19:35 +0900)
committershimitei <shimitei@gmail.com>
Fri, 20 Aug 2021 10:35:33 +0000 (19:35 +0900)
src/monster-floor/monster-summon.cpp

index 9d77f11..1345bd6 100644 (file)
@@ -158,7 +158,7 @@ bool summon_specific(player_type *player_ptr, MONSTER_IDX who, POSITION y1, POSI
             notice = true;
         } else if (is_seen(player_ptr, m_ptr)) {
             notice = true;
-        } else if (player_can_see_bold(player_ptr, x, y)) {
+        } else if (player_can_see_bold(player_ptr, y, x)) {
             notice = true;
         }
     }