diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 17:22:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 17:22:18 +0300 |
commit | 8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6 (patch) | |
tree | 04b3a9384dd92db372953bfbfcabec53d368fb41 /src/gui/windows | |
parent | 326318d644c91f785e98a5b36fe350a95fdd5760 (diff) | |
download | manaverse-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.gz manaverse-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.bz2 manaverse-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.xz manaverse-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.zip |
Remove default value from parameter colorId in Being->setSprite.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 55b39bc62..412dd4761 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -156,7 +156,7 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, it != it_fend; ++ it, i ++) { - mPlayer->setSprite(i, *it, std::string()); + mPlayer->setSprite(i, *it, std::string(), ItemColor_one); } if (!maxHairColor) @@ -767,7 +767,8 @@ void CharCreateDialog::updateHair() mPlayer->setSprite(charServerHandler->hairSprite(), mHairStyle * -1, - item.getDyeColorsString(fromInt(mHairColor, ItemColor))); + item.getDyeColorsString(fromInt(mHairColor, ItemColor)), + ItemColor_one); } void CharCreateDialog::updateRace() |