OSDN Git Service

・レ・テ・ネ、ホケ邱ラツータュテヘキラササ、ヌ, チアホノ、ォ、トシルーュ、ホ・筵ケ・ソ。シ、マケ邱ラ、ヒアニカチ、レ、ワ
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 6 Jul 2003 16:29:34 +0000 (16:29 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 6 Jul 2003 16:29:34 +0000 (16:29 +0000)
、オ、ハ、、、隍ヲ、ヒハムケケ.

src/cmd5.c

index b70b558..cab8e49 100644 (file)
@@ -5249,16 +5249,10 @@ int calculate_upkeep(void)
                        }
                        else
                                total_friend_levels += r_ptr->level;
-                       
+
                        /* Determine pet alignment */
-                       if (r_ptr->flags3 & RF3_GOOD)
-                       {
-                               friend_align += r_ptr->level;
-                       }
-                       else if (r_ptr->flags3 & RF3_EVIL)
-                       {
-                               friend_align -= r_ptr->level;
-                       }
+                       if (r_ptr->flags3 & RF3_GOOD) friend_align += r_ptr->level;
+                       if (r_ptr->flags3 & RF3_EVIL) friend_align -= r_ptr->level;
                }
        }
        if (old_friend_align != friend_align) p_ptr->update |= (PU_BONUS);