diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-21 15:27:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-21 15:27:11 +0300 |
commit | fbadc806e050929f44b54fc2973a28d2fdfc516c (patch) | |
tree | b233a68db2a42025cc68934cd0f71ca21120c581 /src/gui/windows/charcreatedialog.cpp | |
parent | 3d524b386e3dd6d89d481749cd0015bff247a703 (diff) | |
download | manaplus-fbadc806e050929f44b54fc2973a28d2fdfc516c.tar.gz manaplus-fbadc806e050929f44b54fc2973a28d2fdfc516c.tar.bz2 manaplus-fbadc806e050929f44b54fc2973a28d2fdfc516c.tar.xz manaplus-fbadc806e050929f44b54fc2973a28d2fdfc516c.zip |
In Being split setSprite into setSpriteColor and setSpriteColorId.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 5 |
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() |