OSDN Git Service

王蟲のモルドばらまきで, ばら撒かれたモルドが見えて初めて特殊な行動が
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 14 Jun 2003 17:21:51 +0000 (17:21 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 14 Jun 2003 17:21:51 +0000 (17:21 +0000)
記録に残るように変更.

src/melee2.c

index dee1e7b..a23612a 100644 (file)
@@ -2537,7 +2537,10 @@ msg_format("%^s
 
                                        for (k = 0; k < 6; k++)
                                        {
-                                               count += summon_specific(m_idx, m_ptr->fy, m_ptr->fx, rlev, SUMMON_BIZARRE1, (PM_ALLOW_GROUP | p_mode));
+                                               if (summon_specific(m_idx, m_ptr->fy, m_ptr->fx, rlev, SUMMON_BIZARRE1, (PM_ALLOW_GROUP | p_mode)))
+                                               {
+                                                       if (m_list[hack_m_idx_ii].ml) count++;
+                                               }
                                        }
 
                                        if (count && m_ptr->ml) r_ptr->r_flags6 |= (RF6_SPECIAL);