OSDN Git Service

装備品の中で{@wf}等の銘があると、get_tag()が反応してしまい、持ちものリスト
[hengbandforosx/hengbandosx.git] / src / object1.c
index 72174a7..c1861c9 100644 (file)
@@ -4605,8 +4605,8 @@ static int get_tag(int *cp, char tag)
 
        /**** Find a tag in the form of {@x#} (allow alphabet tag) ***/
 
-       /* Check every object */
-       for (i = 0; i < INVEN_TOTAL; ++i)
+       /* Check every inventory object */
+       for (i = 0; i < INVEN_PACK; ++i)
        {
                object_type *o_ptr = &inventory[i];