Corrected a bug i created in guiavatar. was using an incorrect method to alpha green letters, Fixed now.
This commit is contained in:
@@ -103,16 +103,16 @@ void GuiAvatar::Render()
|
|||||||
switch (corner)
|
switch (corner)
|
||||||
{
|
{
|
||||||
case TOP_LEFT :
|
case TOP_LEFT :
|
||||||
mFont->SetColor(ARGB((int)actA - 75, 0, 255, 0));
|
mFont->SetColor(ARGB((int)actA / 1, 0, 255, 0));
|
||||||
mFont->DrawString(poison, actX+2, actY+10);
|
mFont->DrawString(poison, actX+2, actY+10);
|
||||||
break;
|
break;
|
||||||
case BOTTOM_RIGHT :
|
case BOTTOM_RIGHT :
|
||||||
mFont->SetColor(ARGB((int)actA - 75 ,0, 255, 0));
|
mFont->SetColor(ARGB((int)actA / 1 ,0, 255, 0));
|
||||||
mFont->DrawString(poison, actX, actY-20, JGETEXT_RIGHT);
|
mFont->DrawString(poison, actX, actY-20, JGETEXT_RIGHT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
PlayGuiObject::Render();
|
|
||||||
}
|
}
|
||||||
|
PlayGuiObject::Render();
|
||||||
}
|
}
|
||||||
|
|
||||||
ostream& GuiAvatar::toString(ostream& out) const
|
ostream& GuiAvatar::toString(ostream& out) const
|
||||||
|
|||||||
Reference in New Issue
Block a user