From 9ce3ba1313b9c4d0fa07abf0d95d6620e14edbf2 Mon Sep 17 00:00:00 2001 From: drfrag Date: Thu, 1 Oct 2020 14:27:31 +0200 Subject: [PATCH] - Fake grayed-out support for sliders. --- wadsrc/static/zscript/ui/menu/optionmenuitems.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/ui/menu/optionmenuitems.zs b/wadsrc/static/zscript/ui/menu/optionmenuitems.zs index b5cfb1c2e..b7c07a6e6 100644 --- a/wadsrc/static/zscript/ui/menu/optionmenuitems.zs +++ b/wadsrc/static/zscript/ui/menu/optionmenuitems.zs @@ -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);