- Fake grayed-out support for sliders.

This commit is contained in:
drfrag 2020-10-01 14:27:31 +02:00
parent 6a10a4b84c
commit 9ce3ba1313

View file

@ -836,7 +836,7 @@ class OptionMenuItemSlider : OptionMenuSliderBase
{
CVar mCVar;
OptionMenuItemSlider Init(String label, Name command, double min, double max, double step, int showval = 1)
OptionMenuItemSlider Init(String label, Name command, double min, double max, double step, int showval = 1, CVar graycheck = NULL)
{
Super.Init(label, min, max, step, showval, command);
mCVar =CVar.FindCVar(command);