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