From 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:52:16 +0300 Subject: Fix code style in gui. --- src/gui/windows/charcreatedialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/charcreatedialog.cpp') diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 0fe412e5c..182ce5f03 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -340,7 +340,8 @@ void CharCreateDialog::action(const ActionEvent &event) Net::getCharServerHandler()->newCharacter(getName(), characterSlot, mFemale->isSelected(), mHairStyle, mHairColor, - static_cast(mRace), mLook, atts); + static_cast(mRace), + static_cast(mLook), atts); } else { @@ -620,7 +621,8 @@ void CharCreateDialog::updateLook() { mLook = 0; } - mPlayer->setSubtype(static_cast(mRace), mLook); + mPlayer->setSubtype(static_cast(mRace), + static_cast(mLook)); if (mRaceNameLabel) { mRaceNameLabel->setCaption(item.getName()); -- cgit v1.2.3-60-g2f50