summaryrefslogtreecommitdiff
path: root/src/gui/charcreatedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/charcreatedialog.cpp')
-rw-r--r--src/gui/charcreatedialog.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp
index 86a8bf2b..bd2f095b 100644
--- a/src/gui/charcreatedialog.cpp
+++ b/src/gui/charcreatedialog.cpp
@@ -201,13 +201,18 @@ void CharCreateDialog::action(const gcn::ActionEvent &event)
mHairStyle--;
updateHair();
}
- else if (event.getId() == "statslider") {
+ else if (event.getId() == "statslider")
+ {
updateSliders();
}
- else if (event.getId() == "gender"){
- if (mMale->isSelected()) {
+ else if (event.getId() == "gender")
+ {
+ if (mMale->isSelected())
+ {
mPlayer->setGender(GENDER_MALE);
- } else {
+ }
+ else
+ {
mPlayer->setGender(GENDER_FEMALE);
}
}