ensure touch_artifact is always called via hold_another_object
- remove the touch_artifact calls just added - put a check into hold_another_object itself, based on the complete check removed from makewish
This commit is contained in:
@@ -2267,10 +2267,7 @@ struct obj *obj;
|
||||
pline("Snatching %s is a fatal mistake.", kbuf);
|
||||
instapetrify(kbuf);
|
||||
}
|
||||
if (!touch_artifact(otmp, &youmonst))
|
||||
dropy(otmp);
|
||||
else
|
||||
otmp = hold_another_object(otmp, "You drop %s!",
|
||||
otmp = hold_another_object(otmp, "You drop %s!",
|
||||
doname(otmp), (const char *)0);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user