Skip to content

Commit

Permalink
Heretic: Fixed bug with Backpack added using the Level select menu di…
Browse files Browse the repository at this point in the history
…dn't double Phoenix and Firemace max ammo
  • Loading branch information
Dasperal committed Dec 18, 2023
1 parent e72f5f4 commit 7ecb971
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/heretic/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -1761,10 +1761,10 @@ void G_DoSelectiveGame(int option)
p->backpack = selective_backpack;
if (selective_backpack)
{
p->maxammo[0] *= 2;
p->maxammo[1] *= 2;
p->maxammo[2] *= 2;
p->maxammo[3] *= 2;
for (i = 0; i < NUMAMMO; i++)
{
p->maxammo[i] *= 2;
}
}

// Ammo.
Expand Down

0 comments on commit 7ecb971

Please sign in to comment.