This commit is contained in:
jl777
2019-02-10 02:52:21 -11:00
parent a15a77963d
commit 841588a109
2 changed files with 10 additions and 1 deletions

View File

@@ -162,7 +162,7 @@ void rogue_setplayerdata(struct rogue_state *rs,char *gametxidstr)
for (i=0; i<n; i++)
{
item = jitem(array,i);
if ( Is_cJSON_True(jobj(item,"ismine")) != 0 )
if ( is_cJSON_True(jobj(item,"ismine")) != 0 )
{
fprintf(stderr,"found ismine:true\n");
if ( (item= jobj(item,"player")) != 0 && (datastr= jstr(item,"data")) != 0 )