]> granicus.if.org Git - nethack/commitdiff
Fix wrong material for novels
authorPasi Kallinen <paxed@alt.org>
Sun, 13 Nov 2016 13:25:40 +0000 (15:25 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 13 Nov 2016 13:25:43 +0000 (15:25 +0200)
HI_PAPER is color, PAPER is material - the novel object definition
was using the wrong one. The caused the novel material to be gold.

doc/fixes36.1
src/objects.c

index 30731b6525b7b589b570610bbadf1f21cf256da1..815b9f1ade4aef99f08d4877576b7cc6dbead14b 100644 (file)
@@ -355,6 +355,7 @@ wielding Trollsbane prevents trolls from reviving
 wielding Demonbane prevents demons summoning friends
 Elbereth must now be on a square by itself to function
 Elbereth now erodes based on attacks by the player, not monsters scared
+novels are made of paper, not gold
 
 
 Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
index 3c686746c91bb97eacfa092f04355aad853f3391..3a8db8d9214b9488d6875e1daa698a8d23a60287 100644 (file)
@@ -984,7 +984,7 @@ SPELL("freeze sphere",   "hardcover",
 SPELL("blank paper", "plain", P_NONE, 18, 0, 0, 0, 0, HI_PAPER),
 /* tribute book for 3.6 */
 OBJECT(OBJ("novel", "paperback"),
-       BITS(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, P_NONE, HI_PAPER),
+       BITS(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, P_NONE, PAPER),
        0, SPBOOK_CLASS, 0, 0, 0, 20, 0, 0, 0, 1, 20, CLR_BRIGHT_BLUE),
 /* a special, one of a kind, spellbook */
 OBJECT(OBJ("Book of the Dead", "papyrus"),