- fixed snd_channels menu entry.

Fixes #57
This commit is contained in:
Christoph Oelckers 2020-07-28 20:59:17 +02:00
parent d531f4b029
commit 7e8688ae2d
2 changed files with 5 additions and 2 deletions

View file

@ -149,7 +149,10 @@ void FTA(int q, struct player_struct* p)
if (p->ftq != q) if (p->ftq != q)
{ {
if (q == 13) p->ftq = q; if (q == QUOTE_DEAD)
{
p->ftq = q;
}
auto qu = quoteMgr.GetQuote(q); auto qu = quoteMgr.GetQuote(q);
if (p == &ps[screenpeek] && qu[0] != '\0') if (p == &ps[screenpeek] && qu[0] != '\0')
{ {

View file

@ -1158,7 +1158,7 @@ OptionMenu SoundOptions //protected
Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices" Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices"
//StaticText " " //StaticText " "
//Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff" //Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff"
Slider "$SNDMNU_CHANNELS", "snd_numchannels", 64, 128, 8, 0 Slider "$SNDMNU_CHANNELS", "snd_channels", 64, 256, 16, 0
staticText "" staticText ""
ifgame (Blood, ShadowWarrior, Redneck, RedneckRides) ifgame (Blood, ShadowWarrior, Redneck, RedneckRides)
{ {