diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-24 02:02:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-24 02:02:30 +0300 |
commit | e1e205aaaeb21eb98481c58be70aa6cb9d3b5302 (patch) | |
tree | 0e72dea8b0ed4daa2a58b73b86a8f57403f7e1a9 /src/gui | |
parent | dcc723947399caae79a181d4b2cd430fc6dde585 (diff) | |
download | manaverse-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.tar.gz manaverse-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.tar.bz2 manaverse-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.tar.xz manaverse-e1e205aaaeb21eb98481c58be70aa6cb9d3b5302.zip |
Fix number of servers type with enabled manaserv.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/serverdialog.h | 4 |
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 |