we dont have IT_CV_FLOATSLIDER so dont even need to check for float
This commit is contained in:
1 parent
8093b16f28
commit
2857f36836
1 file changed
+2
-2
+2
-2
@@ -7716,8 +7716,8 @@ void M_SlotCvarIntoModMenu(consvar_t* cvar, const char* category, const char* na
|
||||
|
||||
if (minmax)
|
||||
OP_CustomCvarMenu[ccvarposition] = (menuitem_t){ IT_STRING | IT_CVAR | IT_CV_SLIDER, NULL, Z_StrDup(name), cvar, ccvaralphakey };
|
||||
else if (cvar->flags & CV_FLOAT)
|
||||
OP_CustomCvarMenu[ccvarposition] = (menuitem_t){ IT_STRING | IT_CVAR , NULL, Z_StrDup(name), cvar, ccvaralphakey };
|
||||
//else if (cvar->flags & CV_FLOAT)
|
||||
//OP_CustomCvarMenu[ccvarposition] = (menuitem_t){ IT_STRING | IT_CVAR | IT_CV_FLOATSLIDER , NULL, Z_StrDup(name), cvar, ccvaralphakey };
|
||||
else
|
||||
OP_CustomCvarMenu[ccvarposition] = (menuitem_t){ IT_STRING | IT_CVAR, NULL, Z_StrDup(name), cvar, ccvaralphakey };
|
||||
|
||||
|
||||
Reference in new issue
Block a user