Skip to content

Commit

Permalink
Fix bad copy paste
Browse files Browse the repository at this point in the history
  • Loading branch information
kraflab committed Sep 6, 2023
1 parent 5ea01d6 commit d5987df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prboom2/src/wi_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ static int WI_itemLimit(int i)

static int WI_secretPercent(int i)
{
return wbs->maxsecret ? (plrs[i].skills * 100) / wbs->maxkills : 100;
return wbs->maxsecret ? (plrs[i].skills * 100) / wbs->maxsecret : 100;
}

static int WI_secretLimit(int i)
Expand Down

0 comments on commit d5987df

Please sign in to comment.