summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-27 13:25:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-27 13:25:41 +0300
commitc61f1b6abe8e68995f00ae3a939afe5049e5cdb3 (patch)
treec50613a2c7722fba4aba9d5a67949b118a279b33 /src/gui/models
parentb481cd74dfd1629ca7b045cde57562e752c49638 (diff)
downloadmanaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.gz
manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.bz2
manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.xz
manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.zip
Remove manaserv ifdefs code.
ManaServ was already depricated long ago.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/typelistmodel.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h
index d7b6226b0..f9c005f8f 100644
--- a/src/gui/models/typelistmodel.h
+++ b/src/gui/models/typelistmodel.h
@@ -38,18 +38,10 @@ class TypeListModel : public ListModel
*/
int getNumberOfElements() override final A_WARN_UNUSED
#ifdef EATHENA_SUPPORT
-#ifdef MANASERV_SUPPORT
- { return 4; }
-#else
- { return 3; }
-#endif
-#else
-#ifdef MANASERV_SUPPORT
{ return 3; }
#else
{ return 2; }
#endif
-#endif
/**
* Used to get an element from the list
@@ -64,15 +56,6 @@ class TypeListModel : public ListModel
#ifdef EATHENA_SUPPORT
else if (elementIndex == 2)
return "eAthena";
-#ifdef MANASERV_SUPPORT
- else if (elementIndex == 3)
- return "ManaServ";
-#endif
-#else
-#ifdef MANASERV_SUPPORT
- else if (elementIndex == 2)
- return "ManaServ";
-#endif
#endif
else
return "Unknown";