Corrected a bug i created in guiavatar. was using an incorrect method to alpha green letters, Fixed now.

This commit is contained in:
omegablast2002@yahoo.com
2010-08-27 12:49:14 +00:00
parent 3bda949ad5
commit 15f2dd99d9

View File

@@ -103,16 +103,16 @@ void GuiAvatar::Render()
switch (corner)
{
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);
break;
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);
break;
}
PlayGuiObject::Render();
}
PlayGuiObject::Render();
}
ostream& GuiAvatar::toString(ostream& out) const