]> granicus.if.org Git - nethack/commitdiff
fix B16005 engraving headstone with weapon
authornethack.allison <nethack.allison>
Sat, 11 Jan 2003 17:53:26 +0000 (17:53 +0000)
committernethack.allison <nethack.allison>
Sat, 11 Jan 2003 17:53:26 +0000 (17:53 +0000)
>If you're engraving one with a weapon, shouldn't it dull that
> weapon?

doc/fixes34.1
src/engrave.c

index 806ec138050117e99b5ce2a35649b03a380dd4b1..cd232324e3f5ae2a2511054e045b2e51ed32633f 100644 (file)
@@ -358,6 +358,7 @@ prevent recoil from hurtling you through narrow areas that you wouldn't
 grammar in cause of death when killed by slipping while mounting named steed
 ensure `m'enu is still an available traditional menu choice for 
        menu-upon-request even when there is only one class of object present
+engraving on headstone will appropriately dull your weapon
 
 
 Platform- and/or Interface-Specific Fixes
index afdb7dce9255fdccd78aab991d9c9bdc90153027..8d74acf4a1bb6051a6a7ba77e09a970fd975ce7d 100644 (file)
@@ -1017,6 +1017,7 @@ doengrave()
                multi = -(len/10);
                if (multi) nomovemsg = "You finish writing in the dust.";
                break;
+           case HEADSTONE:
            case ENGRAVE:
                multi = -(len/10);
                if ((otmp->oclass == WEAPON_CLASS) &&