Skip to content

Commit

Permalink
Also force carousel on freecam
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Dec 14, 2024
1 parent e3e4bba commit c7000be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mn_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ static const char *bobbing_style_strings[] = {
};

static const char *force_carousel_strings[] = {
"Off", "On Chasecam", "Always"
"Off", "Off Player", "Always"
};

static void NuggetResetWeaponInertia(void)
Expand Down
3 changes: 2 additions & 1 deletion src/st_carousel.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ static void BuildWeaponIcons(const player_t *player)
boolean ST_ForceCarousel(const player_t *const player)
{
return player->pendingweapon != wp_nochange
&& (force_carousel == 2 || (force_carousel == 1 && R_GetChasecamOn()));
&& (force_carousel == 2
|| (force_carousel == 1 && (R_GetChasecamOn() || R_GetFreecamOn())));
}

void ST_UpdateCarousel(player_t *player)
Expand Down
2 changes: 1 addition & 1 deletion src/st_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -3772,7 +3772,7 @@ void ST_BindSTSVariables(void)

// [Nugget]
M_BindNum("force_carousel", &force_carousel, NULL,
1, 0, 2, ss_weap, wad_no, "Force display of weapon carousel (1 = On chasecam; 2 = Always)");
1, 0, 2, ss_weap, wad_no, "Force display of weapon carousel (1 = Off player; 2 = Always)");
}

//----------------------------------------------------------------------------
Expand Down

0 comments on commit c7000be

Please sign in to comment.