This commit is contained in:
jl777
2019-03-06 00:47:15 -11:00
parent 26078cf4ab
commit 0ee026a047
2 changed files with 6 additions and 5 deletions

View File

@@ -280,6 +280,11 @@ inventory(struct rogue_state *rs,THING *list, int type)
list->o_type != FOOD && list->o_type != AMULET) &&
!(type == R_OR_S && (list->o_type == RING || list->o_type == STICK)))
continue;
if ( thing_find(list) < 0 )
{
fprintf(stderr,"cant find thing.(%c) in pack\n",list->o_packch);
sleep(3);
}
n_objs++;
#ifdef MASTER
if (!list->o_packch)