don't draw grades when the player missed
This commit is contained in:
parent
a8cacc690f
commit
3b82c7797e
|
@ -254,18 +254,17 @@ public class ReplayPlayback {
|
||||||
hitImage = GameData.hitResults[GameData.HIT_MISS].getScaledCopy(SQSIZE + 5, SQSIZE + 5);
|
hitImage = GameData.hitResults[GameData.HIT_MISS].getScaledCopy(SQSIZE + 5, SQSIZE + 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Color fadecolor = new Color(1f, 1f, 1f, color.a);
|
|
||||||
int xpos = SQSIZE * (HIDEMOUSEBTNS ? 3 : 5);
|
int xpos = SQSIZE * (HIDEMOUSEBTNS ? 3 : 5);
|
||||||
Fonts.SMALLBOLD.drawString(xpos + ACCMAXWIDTH - currentAccWidth - 10, ypos, currentAcc, new Color(.4f, .4f, .4f, color.a));
|
Fonts.SMALLBOLD.drawString(xpos + ACCMAXWIDTH - currentAccWidth - 10, ypos, currentAcc, new Color(.4f, .4f, .4f, color.a));
|
||||||
xpos += ACCMAXWIDTH;
|
xpos += ACCMAXWIDTH;
|
||||||
if (gradeImage != null) {
|
if (!missed && gradeImage != null) {
|
||||||
gradeImage.draw(xpos, ypos, fadecolor);
|
gradeImage.draw(xpos, ypos);
|
||||||
}
|
}
|
||||||
xpos += SQSIZE + 10;
|
xpos += SQSIZE + 10;
|
||||||
Fonts.SMALLBOLD.drawString(xpos, ypos, this.player, color);
|
Fonts.SMALLBOLD.drawString(xpos, ypos, this.player, color);
|
||||||
xpos += playerwidth;
|
xpos += playerwidth;
|
||||||
if (!this.mods.isEmpty()) {
|
if (!this.mods.isEmpty()) {
|
||||||
Fonts.SMALLBOLD.drawString(xpos, ypos, this.mods, fadecolor);
|
Fonts.SMALLBOLD.drawString(xpos, ypos, this.mods, new Color(1f, 1f, 1f, color.a));
|
||||||
xpos += modwidth;
|
xpos += modwidth;
|
||||||
}
|
}
|
||||||
xpos += 10;
|
xpos += 10;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user