diff --git a/src/cc/rogue/fight.c b/src/cc/rogue/fight.c index 4c9b61da6..e65e96d76 100644 --- a/src/cc/rogue/fight.c +++ b/src/cc/rogue/fight.c @@ -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); diff --git a/src/cc/rogue/pack.c b/src/cc/rogue/pack.c index e7aa8874a..d7622a5e7 100644 --- a/src/cc/rogue/pack.c +++ b/src/cc/rogue/pack.c @@ -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;