OSDN Git Service

束になったロッドの一部だけが充填完了した時、持ち物サブウィンドウの表示が
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 29 Nov 2003 00:31:35 +0000 (00:31 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 29 Nov 2003 00:31:35 +0000 (00:31 +0000)
アップデートされていなかったバグ修正。1.4.5/1.6.0へのマージ候補だが、
先のrevisionで周辺を大きく変更してしまったので手作業が必要。

src/dungeon.c

index 35f6822..184e5a2 100644 (file)
@@ -3622,15 +3622,18 @@ static void process_world_aux_recharge(void)
                                recharged_notice(o_ptr);
                                changed = TRUE;
                        }
+
+                       /* One of the stack of rod is charged */
+                       else if (o_ptr->timeout % k_ptr->pval)
+                       {
+                               changed = TRUE;
+                       }
                }
        }
 
        /* Notice changes */
        if (changed)
        {
-               /* Combine pack */
-               p_ptr->notice |= (PN_COMBINE);
-
                /* Window stuff */
                p_ptr->window |= (PW_INVEN);
                wild_regen = 20;