Skip to content

Commit

Permalink
Disable transparency option when map checks are active
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Oct 6, 2024
1 parent ebf4c36 commit 4bea73b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2983,7 +2983,7 @@ VID_Menu_GetAlphaModeDesc
*/
static const char *VID_Menu_GetAlphaModeDesc (void)
{
switch (R_GetAlphaMode ())
switch (R_GetEffectiveAlphaMode ())
{
case ALPHAMODE_BASIC: return "Basic";
case ALPHAMODE_SORTED: return "Dynamic";
Expand Down Expand Up @@ -3411,6 +3411,8 @@ static qboolean M_Options_IsEnabled (int index)
return false;
if (index == GPAD_OPT_RUMBLE && !IN_HasRumble ())
return false;
if (index == OPT_ALPHAMODE && map_checks.value)
return false;
if (M_Options_IsGyroId (index))
{
if (!IN_HasGyro ())
Expand Down

0 comments on commit 4bea73b

Please sign in to comment.