Browse Source

Fix code style

pull/6186/head
Anders Jenbo 3 years ago
parent
commit
555dac5d22
  1. 8
      Source/DiabloUI/hero/selhero.cpp

8
Source/DiabloUI/hero/selhero.cpp

@ -95,10 +95,10 @@ void RenderDifficultyIndicators()
const uint16_t width = (*DifficultyIndicator)[0].width();
const uint16_t height = (*DifficultyIndicator)[0].height();
SDL_Rect rect = MakeSdlRect(
SELHERO_DIALOG_HERO_IMG->m_rect.x + 1,
SELHERO_DIALOG_HERO_IMG->m_rect.y + SELHERO_DIALOG_HERO_IMG->m_rect.h - height - 1,
width,
height);
SELHERO_DIALOG_HERO_IMG->m_rect.x + 1,
SELHERO_DIALOG_HERO_IMG->m_rect.y + SELHERO_DIALOG_HERO_IMG->m_rect.h - height - 1,
width,
height);
for (int i = 0; i <= DIFF_LAST; i++) {
if (i >= selhero_heroInfo.herorank)
break;

Loading…
Cancel
Save