Cleanup after mod_dumb CVAR removal

This fixes the following warnings on startup without configuration file:
Script error, "gzdoom.pk3:menudef.txt" line 1727:
Unknown CVar mod_dumb
Script error, "gzdoom.pk3:menudef.txt" line 1728:
Unknown CVar mod_dumb
Script error, "gzdoom.pk3:menudef.txt" line 1729:
Unknown CVar mod_dumb
Script error, "gzdoom.pk3:menudef.txt" line 1731:
Unknown CVar mod_dumb
This commit is contained in:
alexey.lysiuk 2017-04-29 10:27:59 +03:00
parent ec1aeaf384
commit 79654fa15b

View file

@ -1724,11 +1724,11 @@ OptionMenu ModReplayerOptions
{ {
Title "$MODMNU_TITLE" Title "$MODMNU_TITLE"
Slider "$MODMNU_MASTERVOLUME", "mod_dumb_mastervolume", 1, 16, 0.5, 1 Slider "$MODMNU_MASTERVOLUME", "mod_dumb_mastervolume", 1, 16, 0.5, 1
Option "$ADVSNDMNU_SAMPLERATE", "mod_samplerate", "SampleRates", "mod_dumb" Option "$ADVSNDMNU_SAMPLERATE", "mod_samplerate", "SampleRates"
Option "$MODMNU_QUALITY", "mod_interp", "ModQuality", "mod_dumb" Option "$MODMNU_QUALITY", "mod_interp", "ModQuality"
Option "$MODMNU_VOLUMERAMPING", "mod_volramp", "ModVolumeRamps", "mod_dumb" Option "$MODMNU_VOLUMERAMPING", "mod_volramp", "ModVolumeRamps"
StaticText " " StaticText " "
Option "$MODMNU_CHIPOMATIC", "mod_autochip", "OnOff", "mod_dumb" Option "$MODMNU_CHIPOMATIC", "mod_autochip", "OnOff"
// TODO if the menu system is ever rewritten: Provide a decent // TODO if the menu system is ever rewritten: Provide a decent
// mechanism to edit the chip-o-matic settings like you can with // mechanism to edit the chip-o-matic settings like you can with
// the foo_dumb preferences in foobar2000. // the foo_dumb preferences in foobar2000.