follow-up: just use existing carrying()

This commit is contained in:
nhmall
2025-12-09 15:25:10 -05:00
parent 6ba053669e
commit 7dc4512bb3
3 changed files with 1 additions and 14 deletions

View File

@@ -2779,18 +2779,6 @@ learn_unseen_invent(void)
update_inventory();
}
boolean
hero_has_one_of_these(short otyp)
{
struct obj *otmp;
for (otmp = gi.invent; otmp; otmp = otmp->nobj) {
if (otmp->otyp == otyp)
return TRUE;
}
return FALSE;
}
/* persistent inventory window is maintained by interface code;
'update_inventory' used to be a macro for
(*windowprocs.win_update_inventory) but the restore hackery to suppress