summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-28 16:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-28 16:34:59 +0300
commitb96e6eeba6e1511568c8291bd8cb6a6d3706635c (patch)
treed021843c88d856f86f018547c30f1181290ffcbe /src/gui/models
parent60859a71dd9794b0216cc7a60146d417e06dbbad (diff)
downloadmanaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz
manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2
manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz
manaverse-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/typelistmodel.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h
index 04d9d93de..6d96568c7 100644
--- a/src/gui/models/typelistmodel.h
+++ b/src/gui/models/typelistmodel.h
@@ -37,10 +37,8 @@ class TypeListModel final : public ListModel
* Used to get number of line in the list
*/
int getNumberOfElements() override final A_WARN_UNUSED
-#if defined(EATHENA_SUPPORT) && defined(TMWA_SUPPORT)
+#if defined(TMWA_SUPPORT)
{ return 3; }
-#elif defined(EATHENA_SUPPORT)
- { return 2; }
#else
{ return 2; }
#endif
@@ -54,21 +52,17 @@ class TypeListModel final : public ListModel
#ifdef TMWA_SUPPORT
if (elementIndex == 0)
return "TmwAthena";
-#ifdef EATHENA_SUPPORT
else if (elementIndex == 1)
return "Hercules";
else if (elementIndex == 2)
return "Evol2";
-#endif // EATHENA_SUPPORT
else
#else // TMWA_SUPPORT
-#ifdef EATHENA_SUPPORT
if (elementIndex == 0)
return "Hercules";
else if (elementIndex == 1)
return "Evol2";
else
-#endif // EATHENA_SUPPORT
#endif // TMWA_SUPPORT
return "Unknown";
}