From e1e205aaaeb21eb98481c58be70aa6cb9d3b5302 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Sep 2011 02:02:30 +0300 Subject: Fix number of servers type with enabled manaserv. --- src/gui/serverdialog.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-70-g09d2