This commit is contained in:
jl777
2019-02-09 21:38:43 -11:00
parent 6584d3c477
commit dbb7d7f6e7
2 changed files with 6 additions and 3 deletions

View File

@@ -1356,7 +1356,7 @@ void rogue_packitemstr(char *packitemstr,struct rogue_packitem *item)
{
THING *obj = new_item();
rogue_restoreobject(obj,item);
strcpy(packitemstr,inv_name(o,FALSE));
strcpy(packitemstr,inv_name(obj,FALSE));
free(obj);
}