Moved "static" mana render a bit to the right for opponent, to avoid rendering it over the opponent's avatar
This commit is contained in:
@@ -258,8 +258,7 @@ void GuiMana::RenderStatic()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
float x0 = x - 20 * totalColors;
|
float x0 = x - 20 * totalColors;
|
||||||
if (x0 < 10)
|
x0 = max(40, x0);
|
||||||
x0 = 10;
|
|
||||||
float xEnd = x0 + 20 * totalColors;
|
float xEnd = x0 + 20 * totalColors;
|
||||||
r->FillRoundRect(x0, y - 5, static_cast<float> (20 * totalColors + 5), 20, 2, ARGB(128,0,0,0));
|
r->FillRoundRect(x0, y - 5, static_cast<float> (20 * totalColors + 5), 20, 2, ARGB(128,0,0,0));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user