]> granicus.if.org Git - nethack/commitdiff
tin variety followup 2 (trunk only)
authornethack.allison <nethack.allison>
Tue, 28 Oct 2003 04:36:24 +0000 (04:36 +0000)
committernethack.allison <nethack.allison>
Tue, 28 Oct 2003 04:36:24 +0000 (04:36 +0000)
src/apply.c

index a345588e95b03c080e77030b34c9a49457e8703c..569bc92365df5ba6089107102a0d290df6d40815 100644 (file)
@@ -1426,7 +1426,8 @@ register struct obj *obj;
            can->blessed = obj->blessed;
            can->owt = weight(can);
            can->known = 1;
-           can->spe = -1;  /* Mark tinned tins. No spinach allowed... */
+           /* Mark tinned tins. No spinach allowed... */
+           set_tin_variety(can, HOMEMADE_TIN);
            if (carried(corpse)) {
                if (corpse->unpaid)
                    verbalize(you_buy_it);