Test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user