OSDN Git Service

Replaced current_world_ptr->game_turn with turn in comments where the latter makes...
authorEric Branlund <ebranlund@fastmail.com>
Tue, 3 Sep 2019 02:20:33 +0000 (19:20 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Tue, 3 Sep 2019 02:20:33 +0000 (19:20 -0700)
src/monster-process.c

index 16974b7..9961d9d 100644 (file)
@@ -2847,7 +2847,7 @@ void process_monster(MONSTER_IDX m_idx)
                                do_move = FALSE;
                        }
 
-                       /* In anti-melee dungeon, stupid or confused monster takes useless current_world_ptr->game_turn */
+                       /* In anti-melee dungeon, stupid or confused monster takes useless turn */
                        if (do_move && (d_info[p_ptr->dungeon_idx].flags1 & DF1_NO_MELEE))
                        {
                                if (!MON_CONFUSED(m_ptr))
@@ -2871,7 +2871,7 @@ void process_monster(MONSTER_IDX m_idx)
                                        /* Do not move */
                                        do_move = FALSE;
 
-                                       /* Took a current_world_ptr->game_turn */
+                                       /* Took a turn */
                                        do_turn = TRUE;
                                }
                        }
@@ -2903,7 +2903,7 @@ void process_monster(MONSTER_IDX m_idx)
                                        {
                                                if (monst_attack_monst(m_idx, g_ptr->m_idx)) return;
 
-                                               /* In anti-melee dungeon, stupid or confused monster takes useless current_world_ptr->game_turn */
+                                               /* In anti-melee dungeon, stupid or confused monster takes useless turn */
                                                else if (d_info[p_ptr->dungeon_idx].flags1 & DF1_NO_MELEE)
                                                {
                                                        if (MON_CONFUSED(m_ptr)) return;