Skip to content

Commit

Permalink
Braces and Crispy code style
Browse files Browse the repository at this point in the history
  • Loading branch information
JNechaevsky committed Oct 30, 2024
1 parent 0873653 commit e4ba9d7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/i_truecolor.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,26 @@ void R_InitBlendMaps (GameMission_t mission)
switch (mission)
{
default: // Doom and derivatives
{
overlay_alpha = OVERLAY_ALPHA_TRANMAP;
overlay_alt_alpha = 0; // "alt" blending is not used
break;
break;
}

case heretic:
case hexen:
{
overlay_alpha = OVERLAY_ALPHA_TINTTAB;
overlay_alt_alpha = OVERLAY_ALPHA_TINTTABALT;
break;
break;
}

case strife:
{
overlay_alpha = OVERLAY_ALPHA_XLATAB;
overlay_alt_alpha = OVERLAY_ALPHA_XLATABALT;
break;
break;
}
}

// Shortcut: these variables are always same in tablified approach
Expand Down

0 comments on commit e4ba9d7

Please sign in to comment.