Option to create the character deaf

Allows creating your character permanently deaf,
for that added challenge.

Breaks saves.
This commit is contained in:
Pasi Kallinen
2023-04-11 13:19:46 +03:00
parent 699473e03f
commit ffb61612e3
12 changed files with 29 additions and 9 deletions

View File

@@ -886,7 +886,8 @@ from_what(int propidx) /* special cases can have negative values */
* There are exceptions. Versatile jumping from spell or boots
* takes priority over knight's innate but limited jumping.
*/
if (propidx == BLINDED && u.uroleplay.blind)
if ((propidx == BLINDED && u.uroleplay.blind)
|| (propidx == DEAF && u.uroleplay.deaf))
Sprintf(buf, " from birth");
else if (innateness == FROM_ROLE || innateness == FROM_RACE)
Strcpy(buf, " innately");