From: cohrs Date: Sat, 9 Feb 2002 04:12:48 +0000 (+0000) Subject: shattered statue rocks X-Git-Tag: MOVE2GIT~3223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62d38baab67f94cfaacf291763acfd3902aa0760;p=nethack shattered statue rocks move shattered statue rocks to the top of the pile helps when the player is Blind, gives away less --- diff --git a/src/zap.c b/src/zap.c index 11f27dffc..44cb174b4 100644 --- a/src/zap.c +++ b/src/zap.c @@ -3693,6 +3693,8 @@ register struct obj *obj; /* no texts here! */ obj->onamelth = 0; /* no names */ obj->oxlth = 0; /* no extra data */ obj->oattached = OATTACHED_NOTHING; + obj_extract_self(obj); /* move rocks back on top */ + place_object(obj, obj->ox, obj->oy); if(!does_block(obj->ox,obj->oy,&levl[obj->ox][obj->oy])) unblock_point(obj->ox,obj->oy); if(cansee(obj->ox,obj->oy))