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.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp
index 412dd4761..00d8e13a0 100644
--- a/src/gui/windows/charcreatedialog.cpp
+++ b/src/gui/windows/charcreatedialog.cpp
@@ -156,7 +156,11 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent,
it != it_fend;
++ it, i ++)
{
- mPlayer->setSprite(i, *it, std::string(), ItemColor_one);
+ mPlayer->setSprite(i,
+ *it,
+ std::string(),
+ ItemColor_one,
+ IsWeapon_false);
}
if (!maxHairColor)
@@ -768,7 +772,8 @@ void CharCreateDialog::updateHair()
mPlayer->setSprite(charServerHandler->hairSprite(),
mHairStyle * -1,
item.getDyeColorsString(fromInt(mHairColor, ItemColor)),
- ItemColor_one);
+ ItemColor_one,
+ IsWeapon_false);
}
void CharCreateDialog::updateRace()