From e3b20b8a9ff5d9e6584be8c6248c38099df7cb02 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Wed, 13 Nov 2002 23:08:04 +0000 Subject: [PATCH] de-sparkling explosions From the newsgroup: explosions handle their own shield effect display for resisting monsters and it was ignoring user's negation of the sparkle option to suppress shield effect. --- doc/fixes34.1 | 1 + src/explode.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 5ed827fed..f8d844fcf 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -303,6 +303,7 @@ for ordinary remove curse, don't uncurse quivered object unless it is suitable salamanders have no legs and cannot ride all objects carried by a monster who's hit by a polymorph zap are protected from that zap, not just worn armor which falls off due to shape change +sparkle option for display effects was ignored on explosions Platform- and/or Interface-Specific Fixes diff --git a/src/explode.c b/src/explode.c index 39deafc4f..5a05a190b 100644 --- a/src/explode.c +++ b/src/explode.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)explode.c 3.4 2000/07/07 */ +/* SCCS Id: @(#)explode.c 3.4 2002/11/10 */ /* Copyright (C) 1990 by Ken Arromdee */ /* NetHack may be freely redistributed. See license for details. */ @@ -188,7 +188,7 @@ int expltype; } curs_on_u(); /* will flush screen and output */ - if (any_shield) { /* simulate a shield effect */ + if (any_shield && flags.sparkle) { /* simulate shield effect */ for (k = 0; k < SHIELD_COUNT; k++) { for (i=0; i<3; i++) for (j=0; j<3; j++) { if (explmask[i][j] == 1)