This commit is contained in:
jl777
2019-03-06 01:27:56 -11:00
parent 5c5fc9ca48
commit 4626a8dae9

View File

@@ -307,13 +307,14 @@ 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 A\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
if ( thing_find(steal) < 0 )
{
fprintf(stderr,"steal %p not foun\n",steal);
sleep(3);
}
leave_pack(rs,steal, FALSE, FALSE);
msg(rs,"she stole %s!", inv_name(steal, TRUE));
fprintf(stderr," hp.%d num.%d B\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
discard(steal);
fprintf(stderr," hp.%d num.%d C\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
}
}
otherwise: