diff options
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 |