Options menu should indicate unavailability of voices
If SND_SPEECH is not defined (such as via Makefile WANT_SPEECH=1), indicate so on the options menu.
This commit is contained in:
@@ -662,8 +662,13 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
NHOPTC(video_height, Advanced, 10, opt_in, set_gameview,
|
||||
No, Yes, No, No, NoAlias, "video height")
|
||||
#endif
|
||||
#ifdef SND_SPEECH
|
||||
NHOPTB(voices, Advanced, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &iflags.voices, Term_Off)
|
||||
#else
|
||||
NHOPTB(voices, Advanced, 0, opt_in, set_gameview,
|
||||
Off, Yes, No, No, NoAlias, &iflags.voices, Term_Disabled)
|
||||
#endif
|
||||
#ifdef TTY_TILES_ESCCODES
|
||||
NHOPTB(vt_tiledata, Advanced, 0, opt_in, set_in_config,
|
||||
Off, Yes, No, No, NoAlias, &iflags.vt_tiledata, Term_False)
|
||||
|
||||
Reference in New Issue
Block a user