diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-06 00:13:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-06 00:13:06 +0300 |
commit | 6245aed671abe032d47db8b0bce7d7b3f3ca522a (patch) | |
tree | ecc1a5c4b5f18c3554c1dcbf7c82ce7f3ad4e704 /src/gui/models | |
parent | 4cac7fcfd4ee4fc7c5ca6bd932de39bb28ed2ea3 (diff) | |
download | manaplus-6245aed671abe032d47db8b0bce7d7b3f3ca522a.tar.gz manaplus-6245aed671abe032d47db8b0bce7d7b3f3ca522a.tar.bz2 manaplus-6245aed671abe032d47db8b0bce7d7b3f3ca522a.tar.xz manaplus-6245aed671abe032d47db8b0bce7d7b3f3ca522a.zip |
Add server type Evol2.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/typelistmodel.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h index 7a50c6905..2836dbbf2 100644 --- a/src/gui/models/typelistmodel.h +++ b/src/gui/models/typelistmodel.h @@ -38,9 +38,9 @@ class TypeListModel final : public ListModel */ int getNumberOfElements() override final A_WARN_UNUSED #if defined(EATHENA_SUPPORT) && defined(TMWA_SUPPORT) - { return 3; } + { return 4; } #elif defined(EATHENA_SUPPORT) - { return 1; } + { return 2; } #else { return 2; } #endif @@ -59,12 +59,16 @@ class TypeListModel final : public ListModel #ifdef EATHENA_SUPPORT else if (elementIndex == 2) return "eAthena"; + else if (elementIndex == 3) + return "Evol2"; #endif // EATHENA_SUPPORT else #else // TMWA_SUPPORT #ifdef EATHENA_SUPPORT if (elementIndex == 0) return "eAthena"; + else if (elementIndex == 1) + return "Evol2"; else #endif // EATHENA_SUPPORT #endif // TMWA_SUPPORT |