This commit is contained in:
jl777
2019-03-06 01:23:46 -11:00
parent 435535f3a6
commit 5c5fc9ca48
2 changed files with 3 additions and 5 deletions

View File

@@ -307,13 +307,13 @@ attack(struct rogue_state *rs,THING *mp)
{
remove_mon(rs,&mp->t_pos, moat(mp->t_pos.y, mp->t_pos.x), FALSE);
mp=NULL;
fprintf(stderr,"hp.%d num.%d\n",pstats.s_hpt,num_packitems(rs));
fprintf(stderr,"hp.%d num.%d A\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
leave_pack(rs,steal, FALSE, FALSE);
msg(rs,"she stole %s!", inv_name(steal, TRUE));
fprintf(stderr," hp.%d num.%d\n",pstats.s_hpt,num_packitems(rs));
fprintf(stderr," hp.%d num.%d B\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
discard(steal);
fprintf(stderr," hp.%d num.%d\n",pstats.s_hpt,num_packitems(rs));
fprintf(stderr," hp.%d num.%d C\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
}
}
otherwise:

View File

@@ -166,8 +166,6 @@ int32_t num_packitems(struct rogue_state *rs)
if ( thing_find(list) < 0 )
{
fprintf(stderr,"num_packitems cant find %p\n",list);
sleep(3);
return(-1);
}
if ( list->o_packch != 0 )
{