From: Hourier Date: Sun, 27 Sep 2020 14:03:18 +0000 (+0900) Subject: [Fix] 永久光源に残りターンが付記される不具合を修正 / Fixed the issue that 'turns of light' for permanent... X-Git-Tag: vmacos3.0.0-alpha52~517^2~55^2~110 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1f0bce1e1643f2000b57c40c1c809ce7f744de3b;p=hengbandforosx%2Fhengbandosx.git [Fix] 永久光源に残りターンが付記される不具合を修正 / Fixed the issue that 'turns of light' for permanent lights was described --- diff --git a/src/flavor/flavor-describer.c b/src/flavor/flavor-describer.c index 246b5101c..12902b53f 100644 --- a/src/flavor/flavor-describer.c +++ b/src/flavor/flavor-describer.c @@ -402,7 +402,7 @@ static void describe_pval(flavor_type *flavor_ptr) static void describe_lamp_life(flavor_type *flavor_ptr) { - if ((flavor_ptr->o_ptr->tval != TV_LITE) || ((object_is_fixed_artifact(flavor_ptr->o_ptr) && (flavor_ptr->o_ptr->sval != SV_LITE_FEANOR)))) + if ((flavor_ptr->o_ptr->tval != TV_LITE) || (object_is_fixed_artifact(flavor_ptr->o_ptr) || (flavor_ptr->o_ptr->sval == SV_LITE_FEANOR))) return; flavor_ptr->t = object_desc_str(flavor_ptr->t, _("(", " (with "));