diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-28 16:03:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-28 16:34:59 +0300 |
commit | b96e6eeba6e1511568c8291bd8cb6a6d3706635c (patch) | |
tree | d021843c88d856f86f018547c30f1181290ffcbe /src/gui/windows/editserverdialog.cpp | |
parent | 60859a71dd9794b0216cc7a60146d417e06dbbad (diff) | |
download | plus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz plus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2 plus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz plus-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip |
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r-- | src/gui/windows/editserverdialog.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp index 154dca6b4..8f65bb8f5 100644 --- a/src/gui/windows/editserverdialog.cpp +++ b/src/gui/windows/editserverdialog.cpp @@ -149,15 +149,11 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent, switch (mServer.type) { case ServerType::EATHENA: -#ifdef EATHENA_SUPPORT #ifdef TMWA_SUPPORT mTypeField->setSelected(1); #else // TMWA_SUPPORT mTypeField->setSelected(0); #endif // TMWA_SUPPORT -#else // EATHENA_SUPPORT - mTypeField->setSelected(0); -#endif // EATHENA_SUPPORT break; default: case ServerType::UNKNOWN: @@ -165,15 +161,11 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent, mTypeField->setSelected(0); break; case ServerType::EVOL2: -#ifdef EATHENA_SUPPORT #ifdef TMWA_SUPPORT mTypeField->setSelected(2); #else // TMWA_SUPPORT mTypeField->setSelected(1); #endif // TMWA_SUPPORT -#else // EATHENA_SUPPORT - mTypeField->setSelected(0); -#endif // EATHENA_SUPPORT break; } @@ -236,7 +228,6 @@ void EditServerDialog::action(const ActionEvent &event) mPortField->getText().c_str())); mServer.persistentIp = mPersistentIp->isSelected(); -#if defined(TMWA_SUPPORT) || defined(EATHENA_SUPPORT) if (mTypeField) { switch (mTypeField->getSelected()) @@ -245,16 +236,13 @@ void EditServerDialog::action(const ActionEvent &event) case 0: mServer.type = ServerType::TMWATHENA; break; -#ifdef EATHENA_SUPPORT case 1: mServer.type = ServerType::EATHENA; break; case 2: mServer.type = ServerType::EVOL2; break; -#endif #else -#ifdef EATHENA_SUPPORT case 0: mServer.type = ServerType::EATHENA; break; @@ -262,14 +250,12 @@ void EditServerDialog::action(const ActionEvent &event) mServer.type = ServerType::EVOL2; break; #endif -#endif default: mServer.type = ServerType::UNKNOWN; break; } } else -#endif // defined(TMWA_SUPPORT) || defined(EATHENA_SUPPORT) { mServer.type = ServerType::TMWATHENA; } |