summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/outfitwindow.cpp8
-rw-r--r--src/gui/windows/outfitwindow.h2
2 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp
index 0e5885089..290cf924c 100644
--- a/src/gui/windows/outfitwindow.cpp
+++ b/src/gui/windows/outfitwindow.cpp
@@ -134,13 +134,9 @@ OutfitWindow::~OutfitWindow()
save();
}
-void OutfitWindow::load(const bool oldConfig)
+void OutfitWindow::load()
{
- const Configuration *cfg;
- if (oldConfig)
- cfg = &config;
- else
- cfg = &serverConfig;
+ const Configuration *cfg = &serverConfig;
memset(mItems, -1, sizeof(mItems));
memset(mItemColors, 1, sizeof(mItemColors));
diff --git a/src/gui/windows/outfitwindow.h b/src/gui/windows/outfitwindow.h
index b10388005..a6d31d3be 100644
--- a/src/gui/windows/outfitwindow.h
+++ b/src/gui/windows/outfitwindow.h
@@ -64,7 +64,7 @@ class OutfitWindow final : public Window,
void mouseReleased(MouseEvent &event) override final;
- void load(const bool oldConfig = false);
+ void load();
void wearOutfit(const int outfit, const bool unwearEmpty = true,
const bool select = false);