github #877 - fix "disintegration resistance"

Pull requet from vultur-cadens:  use space instead of hyphen in
enlightenment and end-of-game feedback.

All the other resistances already use space.  The inappropriate
hyphen in "disintegration-resistance" seems to have been present
since enlightenment was added (in 3.0; back then the relevant code
was in cmd.c; current insight.c didn't exist until 3.6).

Fixes #877
This commit is contained in:
PatR
2022-09-20 13:24:54 -07:00

View File

@@ -1444,7 +1444,7 @@ attributes_enlightenment(int unused_mode UNUSED, int final)
if (Sleep_resistance)
you_are("sleep resistant", from_what(SLEEP_RES));
if (Disint_resistance)
you_are("disintegration-resistant", from_what(DISINT_RES));
you_are("disintegration resistant", from_what(DISINT_RES));
if (u_adtyp_resistance_obj(AD_DISN))
enl_msg("Your items ", "are", "were",
" protected from disintegration", item_what(AD_DISN));