diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-11 20:01:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-11 20:01:40 +0300 |
commit | 5019ae8009921a95770959b5f5a92854203d2755 (patch) | |
tree | c5de059615d72f1afd19983b6ec832c905aae222 /src/gui/windows/outfitwindow.cpp | |
parent | 7212c1c8ebcbc6a76f3c1367b18b09521009470c (diff) | |
download | plus-5019ae8009921a95770959b5f5a92854203d2755.tar.gz plus-5019ae8009921a95770959b5f5a92854203d2755.tar.bz2 plus-5019ae8009921a95770959b5f5a92854203d2755.tar.xz plus-5019ae8009921a95770959b5f5a92854203d2755.zip |
Remove support for legacy configuration in outfits.
Diffstat (limited to 'src/gui/windows/outfitwindow.cpp')
-rw-r--r-- | src/gui/windows/outfitwindow.cpp | 8 |
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)); |