summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 17:22:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 17:22:18 +0300
commit8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6 (patch)
tree04b3a9384dd92db372953bfbfcabec53d368fb41 /src/gui/windows
parent326318d644c91f785e98a5b36fe350a95fdd5760 (diff)
downloadplus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.gz
plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.bz2
plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.xz
plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.zip
Remove default value from parameter colorId in Being->setSprite.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/charcreatedialog.cpp5
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()