Skip to content

Commit

Permalink
doom_weapon_toggles does not affect prev/next weapon again
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiangreffrath committed Sep 14, 2024
1 parent e708a6f commit 0ab51f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ void G_BuildTiccmd(ticcmd_t* cmd)
// killough 10/98: make SG/SSG and Fist/Chainsaw
// weapon toggles optional

if (!demo_compatibility && doom_weapon_toggles)
if (!demo_compatibility && doom_weapon_toggles && !next_weapon)
{
const player_t *player = &players[consoleplayer];

Expand Down

0 comments on commit 0ab51f5

Please sign in to comment.