Browse Source

💄 Lower icons to not obscure long names

pull/1292/head
Anders Jenbo 5 years ago
parent
commit
30d013edf9
  1. 4
      SourceX/qol.cpp

4
SourceX/qol.cpp

@ -117,10 +117,10 @@ void DrawMonsterHealthBar(CelOutputBuffer out)
Sint32 resOffset = 5;
for (Sint32 i = 0; i < 3; i++) {
if (mon->mMagicRes & immunes[i]) {
DrawArt(out, xPos + resOffset, yPos + height - 11, &ArtResistance, i * 2 + 1);
DrawArt(out, xPos + resOffset, yPos + height - 6, &ArtResistance, i * 2 + 1);
resOffset += ArtResistance.w() + 2;
} else if (mon->mMagicRes & resists[i]) {
DrawArt(out, xPos + resOffset, yPos + height - 11, &ArtResistance, i * 2);
DrawArt(out, xPos + resOffset, yPos + height - 6, &ArtResistance, i * 2);
resOffset += ArtResistance.w() + 2;
}
}

Loading…
Cancel
Save