summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r--src/gui/outfitwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index a79fd5fbc..383b85ca7 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -65,6 +65,7 @@ OutfitWindow::OutfitWindow():
serverConfig.getValueBool("OutfitUnequip0", true))),
mAwayOutfitCheck(new CheckBox(this, _("Away outfit"),
serverConfig.getValue("OutfitAwayIndex", OUTFITS_COUNT - 1))),
+ mCurrentOutfit(0),
mKeyLabel(new Label(this, strprintf(_("Key: %s"),
keyName(mCurrentOutfit).c_str()))),
mBoxWidth(33),
@@ -77,7 +78,6 @@ OutfitWindow::OutfitWindow():
mItemMoved(nullptr),
mItemSelected(-1),
mItemColorSelected(1),
- mCurrentOutfit(0),
mAwayOutfit(0)
{
setWindowName("Outfits");