More reputation related changes.

This commit is contained in:
MobiusDev
2015-03-25 13:38:58 +00:00
parent ef15efb834
commit 1c13685dbb
4 changed files with 4 additions and 16 deletions

View File

@ -50,10 +50,6 @@ public class PcAppearance
/** The default title color is 0xECF9A2. */
private int _titleColor = DEFAULT_TITLE_COLOR;
/** Karma and Reputation colors */
private final int _redColor = 255;
private final int _greenColor = 65280;
public PcAppearance(byte face, byte hColor, byte hStyle, boolean sex)
{
_face = face;
@ -177,14 +173,6 @@ public class PcAppearance
public int getNameColor()
{
if (_owner.getKarma() > 0)
{
return _redColor;
}
if (_owner.getReputation() > 0)
{
return _greenColor;
}
return _nameColor;
}