summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 17:38:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 17:38:06 +0300
commitca23f86b2b1ae730d0511bb1613e5f4b7211c8d7 (patch)
tree729fbb5786bdf41ae8004e1850248ca2e890974c /src/gui
parent8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6 (diff)
downloadplus-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.tar.gz
plus-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.tar.bz2
plus-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.tar.xz
plus-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.zip
Remove default value from parameter isWeapon in Being->setSprite.
Diffstat (limited to 'src/gui')
-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()