This commit is contained in:
jl777
2019-02-10 03:06:17 -11:00
parent 7ac4a4f99f
commit 59b2c324d5

View File

@@ -1351,6 +1351,7 @@ void rogue_restoreobject(THING *o,struct rogue_packitem *item)
o->_o._o_flags = item->flags;
o->_o._o_group = item->group;
o->o_flags |= ISKNOW;
o->o_flags &= ~ISFOUND;
switch ( item->type )
{
case SCROLL:
@@ -1370,9 +1371,9 @@ void rogue_restoreobject(THING *o,struct rogue_packitem *item)
ws_info[item->which].oi_know = TRUE;
break;
}
char packitemstr[256];
strcpy(packitemstr,inv_name(o,FALSE));
fprintf(stderr,"packitem.(%s)\n",packitemstr);
//char packitemstr[256];
//strcpy(packitemstr,inv_name(o,FALSE));
//fprintf(stderr,"packitem.(%s)\n",packitemstr);
}
void rogue_packitemstr(char *packitemstr,struct rogue_packitem *item)