]> granicus.if.org Git - nethack/commitdiff
Engraving with Fire Brand burns the text on the floor
authorPasi Kallinen <paxed@alt.org>
Sun, 20 Feb 2022 13:58:20 +0000 (15:58 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 20 Feb 2022 13:59:33 +0000 (15:59 +0200)
doc/fixes3-7-0.txt
src/engrave.c

index 7f22a6317607434c2a234eb480b2477e912e1054..1a6d6a43c86026555e22566bfd8ac307cbde1c49 100644 (file)
@@ -793,6 +793,8 @@ reading magic marker shows the specific red ink color
 imps and other creatures cussing hero wake up nearby monsters
 make ravens oviparous
 thrown items can get stuck in webs
+engraving with Fire Brand burns the text on the floor and does not
+       dull the artifact
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index a3b7db770a3b3a639dac33525f6055dd578bfb36..35e89a9a7b2900409f6c35b55248d3f455b1b32f 100644 (file)
@@ -838,7 +838,9 @@ doengrave(void)
         break;
 
     case WEAPON_CLASS:
-        if (is_blade(otmp)) {
+        if (otmp->oartifact == ART_FIRE_BRAND)
+            type = BURN;
+        else if (is_blade(otmp)) {
             if ((int) otmp->spe > -3)
                 type = ENGRAVE;
             else