- make sure the last notch on the start screen is rendered.

This commit is contained in:
Christoph Oelckers 2022-06-07 23:13:59 +02:00
commit 07a8701f8d
2 changed files with 3 additions and 1 deletions

View file

@ -141,7 +141,7 @@ bool FHexenStartScreen::DoProgress(int advance)
{
int notch_pos, x, y;
if (CurPos < MaxPos)
if (CurPos <= MaxPos)
{
int numnotches = (16 * 32) / NotchBits.GetWidth();
notch_pos = ((CurPos + 1) * numnotches) / MaxPos;