Browse Source

Fix frame index of Level Up icon (#4442)

pull/4444/head
Stephen C. Wills 4 years ago committed by GitHub
parent
commit
24813302c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/control.cpp

2
Source/control.cpp

@ -927,7 +927,7 @@ void ReleaseLvlBtn()
void DrawLevelUpIcon(const Surface &out)
{
if (IsLevelUpButtonVisible()) {
int nCel = lvlbtndown ? 3 : 2;
int nCel = lvlbtndown ? 2 : 1;
DrawString(out, _("Level Up"), { { PANEL_LEFT + 0, PANEL_TOP - 62 }, { 120, 0 } }, UiFlags::ColorWhite | UiFlags::AlignCenter);
CelDrawTo(out, { 40 + PANEL_X, -17 + PANEL_Y }, *pChrButtons, nCel);
}

Loading…
Cancel
Save