summaryrefslogtreecommitdiff
path: root/src/gui/windows/charcreatedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r--src/gui/windows/charcreatedialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp
index 762d76c00..af23b6b28 100644
--- a/src/gui/windows/charcreatedialog.cpp
+++ b/src/gui/windows/charcreatedialog.cpp
@@ -766,10 +766,9 @@ void CharCreateDialog::updateHair()
mHairColorNameLabel->resizeTo(150, 150);
}
- mPlayer->setSprite(charServerHandler->hairSprite(),
+ mPlayer->setSpriteColor(charServerHandler->hairSprite(),
mHairStyle * -1,
- item.getDyeColorsString(fromInt(mHairColor, ItemColor)),
- ItemColor_one);
+ item.getDyeColorsString(fromInt(mHairColor, ItemColor)));
}
void CharCreateDialog::updateRace()