grey saltroll out in menu if sloperoll disabled
This commit is contained in:
1 parent
e369fbded4
commit
aea03cc2b7
1 file changed
+10
-2
+10
-2
@@ -3506,8 +3506,16 @@ void Moviemode_option_Onchange(void)
|
||||
|
||||
void PDistort_menu_Onchange(void)
|
||||
{
|
||||
OP_PlayerDistortMenu[slrotatedist].status =
|
||||
(cv_sloperoll.value) ? IT_STRING | IT_CVAR : IT_GRAYEDOUT;
|
||||
if (cv_sloperoll.value)
|
||||
{
|
||||
OP_PlayerDistortMenu[slrotatedist].status = IT_STRING | IT_CVAR;
|
||||
OP_PlayerDistortMenu[saltroll].status = IT_STRING | IT_CVAR;
|
||||
}
|
||||
else
|
||||
{
|
||||
OP_PlayerDistortMenu[slrotatedist].status = IT_GRAYEDOUT;
|
||||
OP_PlayerDistortMenu[saltroll].status = IT_GRAYEDOUT;
|
||||
}
|
||||
}
|
||||
|
||||
void Bird_menu_Onchange(void)
|
||||
|
||||
Reference in new issue
Block a user