OSDN Git Service

Merge remote-tracking branch 'remotes/origin/For2.2.2-Fix-Hourier' into For2.2.2...
[hengband/hengband.git] / src / view / display-player-middle.c
index cbf909e..d0e5501 100644 (file)
@@ -43,7 +43,7 @@ static void display_player_melee_bonus(player_type *creature_ptr, int hand, int
 
     if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM))
         display_player_one_line(ENTRY_BARE_HAND, buf, TERM_L_BLUE);
-    else if (creature_ptr->ryoute)
+    else if (creature_ptr->two_handed_weapon)
         display_player_one_line(ENTRY_TWO_HANDS, buf, TERM_L_BLUE);
     else
         display_player_one_line(hand_entry, buf, TERM_L_BLUE);
@@ -56,7 +56,7 @@ static void display_player_melee_bonus(player_type *creature_ptr, int hand, int
  */
 static void display_left_hand(player_type *creature_ptr)
 {
-    if (creature_ptr->hidarite) {
+    if (creature_ptr->left_hand_weapon) {
         display_player_melee_bonus(creature_ptr, 1, left_hander ? ENTRY_RIGHT_HAND2 : ENTRY_LEFT_HAND2);
         return;
     }
@@ -289,7 +289,7 @@ static void display_real_playtime(void)
  */
 void display_player_middle(player_type *creature_ptr)
 {
-    if (creature_ptr->migite)
+    if (creature_ptr->right_hand_weapon)
         display_player_melee_bonus(creature_ptr, 0, left_hander ? ENTRY_LEFT_HAND1 : ENTRY_RIGHT_HAND1);
 
     display_left_hand(creature_ptr);