]> granicus.if.org Git - nethack/commitdiff
With fragile wands, use snap instead of break
authorPasi Kallinen <paxed@alt.org>
Tue, 18 Oct 2016 16:42:20 +0000 (19:42 +0300)
committerPasi Kallinen <paxed@alt.org>
Tue, 18 Oct 2016 16:42:20 +0000 (19:42 +0300)
src/apply.c

index 8d64620a85e1aa2c9a2b269b8e2ba98f0863aad8..3486fb1a31dd83b5c70820aafee37a4afcd4683f 100644 (file)
@@ -3210,8 +3210,8 @@ struct obj *obj;
         You("don't have the strength to break %s!", yname(obj));
         return 0;
     }
-    pline("Raising %s high above your %s, you break it in two!", yname(obj),
-          body_part(HEAD));
+    pline("Raising %s high above your %s, you %s it in two!", yname(obj),
+          body_part(HEAD), is_fragile ? "snap" : "break");
 
     /* [ALI] Do this first so that wand is removed from bill. Otherwise,
      * the freeinv() below also hides it from setpaid() which causes problems.