With fragile wands, use snap instead of break

This commit is contained in:
Pasi Kallinen
2016-10-18 19:42:20 +03:00
parent f106b578a2
commit 1506572ea0
+2 -2
View File
@@ -3210,8 +3210,8 @@ struct obj *obj;
You("don't have the strength to break %s!", yname(obj)); You("don't have the strength to break %s!", yname(obj));
return 0; return 0;
} }
pline("Raising %s high above your %s, you break it in two!", yname(obj), pline("Raising %s high above your %s, you %s it in two!", yname(obj),
body_part(HEAD)); body_part(HEAD), is_fragile ? "snap" : "break");
/* [ALI] Do this first so that wand is removed from bill. Otherwise, /* [ALI] Do this first so that wand is removed from bill. Otherwise,
* the freeinv() below also hides it from setpaid() which causes problems. * the freeinv() below also hides it from setpaid() which causes problems.