summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-24 02:02:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-24 02:02:30 +0300
commite1e205aaaeb21eb98481c58be70aa6cb9d3b5302 (patch)
tree0e72dea8b0ed4daa2a58b73b86a8f57403f7e1a9
parentdcc723947399caae79a181d4b2cd430fc6dde585 (diff)
downloadmv-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.tar.gz
mv-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.tar.bz2
mv-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.tar.xz
mv-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.zip
Fix number of servers type with enabled manaserv.
-rw-r--r--src/gui/serverdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index a5f5f3ee0..39c6f94f7 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -95,7 +95,11 @@ class TypeListModel : public gcn::ListModel
* Used to get number of line in the list
*/
int getNumberOfElements()
+#ifdef MANASERV_SUPPORT
+ { return 3; }
+#else
{ return 2; }
+#endif
/**
* Used to get an element from the list