vopret = vopretNonfungible;

This commit is contained in:
jl777
2019-02-11 07:11:17 -11:00
parent 8537216d9a
commit 7a48d681ed
2 changed files with 1 additions and 3 deletions

View File

@@ -1397,9 +1397,6 @@ void rogue_packitemstr(char *packitemstr,struct rogue_packitem *item)
THING *obj = new_item();
rogue_restoreobject(obj,item);
strcpy(packitemstr,inv_name(obj,FALSE));
for (i=0; packitemstr[i]!=0; i++)
if ( packitemstr[i] < ' ' || (uint8_t)packitemstr[i] >= 0x80 )
packitemstr[i] = ' ';
//fprintf(stderr,"packitem.(%s)\n",packitemstr);
free(obj);
}

View File

@@ -189,6 +189,7 @@ uint8_t rogue_highlanderopretdecode(uint256 &gametxid, int32_t &regslot, CPubKey
else if ( script[1] == 't' && (f= DecodeTokenOpRet(scriptPubKey, e, tokenid, voutPubkeys, vopretDummy)) != 0 )
{
GetNonfungibleData(tokenid, vopretNonfungible); //load nonfungible data from the 'tokenbase' tx
vopret = vopretNonfungible;
}
if ( vopret.size() > 2 && E_UNMARSHAL(vopret, ss >> e; ss >> f; ss >> gametxid; ss >> regslot; ss >> pk; ss >> playerdata) != 0 && e == EVAL_ROGUE && (f == 'H' || f == 'Q') )
{