diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 18:45:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 18:45:23 +0300 |
commit | 24b60886fd34770af1b97a36df72c58c4f73539f (patch) | |
tree | 83081e9eac30254149eb53f2dd9b07778a95c34b /src/gui/windows | |
parent | 89bc2ec72aa3713fc5a02ec1fcc4ea826043e9c3 (diff) | |
download | plus-24b60886fd34770af1b97a36df72c58c4f73539f.tar.gz plus-24b60886fd34770af1b97a36df72c58c4f73539f.tar.bz2 plus-24b60886fd34770af1b97a36df72c58c4f73539f.tar.xz plus-24b60886fd34770af1b97a36df72c58c4f73539f.zip |
Remove ServerFeatures haveCharRename because it depend only on server type.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index f7edbfc24..a2c40de7f 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -45,6 +45,7 @@ #include "net/character.h" #include "net/charserverhandler.h" #include "net/logindata.h" +#include "net/net.h" #include "net/serverfeatures.h" #include "resources/db/unitsdb.h" @@ -99,7 +100,9 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : n ++; placer(n, 0, mDeleteButton); n ++; - if (serverFeatures->haveCharRename()) +#ifdef TMWA_SUPPORT + if (Net::getNetworkType() == ServerType::EATHENA) +#endif { mRenameButton = new Button(this, // TRANSLATORS: character rename button |