summaryrefslogtreecommitdiff
path: root/src/gui/windows/outfitwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-11 20:01:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-11 20:01:40 +0300
commit5019ae8009921a95770959b5f5a92854203d2755 (patch)
treec5de059615d72f1afd19983b6ec832c905aae222 /src/gui/windows/outfitwindow.cpp
parent7212c1c8ebcbc6a76f3c1367b18b09521009470c (diff)
downloadmanaplus-5019ae8009921a95770959b5f5a92854203d2755.tar.gz
manaplus-5019ae8009921a95770959b5f5a92854203d2755.tar.bz2
manaplus-5019ae8009921a95770959b5f5a92854203d2755.tar.xz
manaplus-5019ae8009921a95770959b5f5a92854203d2755.zip
Remove support for legacy configuration in outfits.
Diffstat (limited to 'src/gui/windows/outfitwindow.cpp')
-rw-r--r--src/gui/windows/outfitwindow.cpp8
1 files changed, 2 insertions, 6 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));