This commit is contained in:
jl777
2019-03-06 02:41:39 -11:00
parent 23ca797f73
commit 6a7e9592de
2 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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;