summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 15:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 15:27:11 +0300
commitfbadc806e050929f44b54fc2973a28d2fdfc516c (patch)
treeb233a68db2a42025cc68934cd0f71ca21120c581 /src/gui
parent3d524b386e3dd6d89d481749cd0015bff247a703 (diff)
downloadmv-fbadc806e050929f44b54fc2973a28d2fdfc516c.tar.gz
mv-fbadc806e050929f44b54fc2973a28d2fdfc516c.tar.bz2
mv-fbadc806e050929f44b54fc2973a28d2fdfc516c.tar.xz
mv-fbadc806e050929f44b54fc2973a28d2fdfc516c.zip
In Being split setSprite into setSpriteColor and setSpriteColorId.
Diffstat (limited to 'src/gui')
-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()