summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-15 21:46:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-15 21:46:45 +0300
commit365b09d7029abf778d4210cb47f393dee5d749a5 (patch)
treeb71ea1994aa2db4ccc1b7f4df612676d441aacf0 /src/gui/models
parent77afc97b4d6e4caace275d8bc21a94525ad070e2 (diff)
downloadmv-365b09d7029abf778d4210cb47f393dee5d749a5.tar.gz
mv-365b09d7029abf778d4210cb47f393dee5d749a5.tar.bz2
mv-365b09d7029abf778d4210cb47f393dee5d749a5.tar.xz
mv-365b09d7029abf778d4210cb47f393dee5d749a5.zip
Remove old evol server type.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/typelistmodel.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h
index fd972e0cd..39353db06 100644
--- a/src/gui/models/typelistmodel.h
+++ b/src/gui/models/typelistmodel.h
@@ -38,7 +38,7 @@ class TypeListModel final : public ListModel
*/
int getNumberOfElements() override final A_WARN_UNUSED
#if defined(EATHENA_SUPPORT) && defined(TMWA_SUPPORT)
- { return 4; }
+ { return 3; }
#elif defined(EATHENA_SUPPORT)
{ return 2; }
#else
@@ -54,12 +54,10 @@ class TypeListModel final : public ListModel
#ifdef TMWA_SUPPORT
if (elementIndex == 0)
return "TmwAthena";
- else if (elementIndex == 1)
- return "Evol";
#ifdef EATHENA_SUPPORT
- else if (elementIndex == 2)
+ else if (elementIndex == 1)
return "eAthena";
- else if (elementIndex == 3)
+ else if (elementIndex == 2)
return "Evol2";
#endif // EATHENA_SUPPORT
else