This commit is contained in:
@@ -307,11 +307,6 @@ 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;
|
||||
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));
|
||||
discard(steal);
|
||||
|
||||
@@ -226,6 +226,11 @@ leave_pack(struct rogue_state *rs,THING *obj, bool newobj, bool all)
|
||||
|
||||
inpack--;
|
||||
nobj = obj;
|
||||
if ( thing_find(obj) < 0 )
|
||||
{
|
||||
fprintf(stderr,"leave_pack unknown obj %p\n",obj);
|
||||
sleep(3);
|
||||
}
|
||||
if (obj->o_count > 1 && !all)
|
||||
{
|
||||
last_pick = obj;
|
||||
|
||||
Reference in New Issue
Block a user