This commit is contained in:
jl777
2019-02-18 03:24:21 -11:00
parent 49d8a2aa5d
commit a4f241718b

View File

@@ -169,14 +169,14 @@ int32_t num_packitems(struct rogue_state *rs)
total += list->o_count;
}
}
if ( 0 ) // crashes playerinfo
if ( rs->guiflag != 0 )
{
char str[MAXSTR];
sprintf(str,"strength*3 %d vs total.%d vs %d inventory letters\n",pstats.s_str*3,total,n);
add_line(rs,"%s",str);
if ( total > pstats.s_str*3 )
return(MAXPACK);
}
if ( total > pstats.s_str*3 )
return(MAXPACK);
return(n);
}