Test
This commit is contained in:
@@ -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);
|
remove_mon(rs,&mp->t_pos, moat(mp->t_pos.y, mp->t_pos.x), FALSE);
|
||||||
mp=NULL;
|
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);
|
leave_pack(rs,steal, FALSE, FALSE);
|
||||||
msg(rs,"she stole %s!", inv_name(steal, TRUE));
|
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);
|
discard(steal);
|
||||||
fprintf(stderr," hp.%d num.%d C\n",pstats.s_hpt,num_packitems(rs)); sleep(3);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
otherwise:
|
otherwise:
|
||||||
|
|||||||
Reference in New Issue
Block a user