summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2011-01-22 15:33:51 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:53 +0000
commitdcc1aa0ccfef2ff8d14e96c61102214c5536ae4d (patch)
treec1435bf696323ea987d5e674c3a71a655eaa5300 /src/ui
parentb5dbdb31d3b685c1eea1c35d204b371e516d2630 (diff)
* (bug 3013) Add gametype column to server browser (Rezyn, with thanks to Jackmcbarn, Risujin)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_main.c3
-rw-r--r--src/ui/ui_public.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index 3c1d21ec..b776521e 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -3617,6 +3617,9 @@ static const char *UI_FeederItemText( int feederID, int index, int column, qhand
}
}
+ case SORT_GAME:
+ return Info_ValueForKey( info, "game" );
+
case SORT_MAP:
return Info_ValueForKey( info, "mapname" );
diff --git a/src/ui/ui_public.h b/src/ui/ui_public.h
index f746eb38..edf2742f 100644
--- a/src/ui/ui_public.h
+++ b/src/ui/ui_public.h
@@ -152,6 +152,7 @@ uiMenuCommand_t;
typedef enum
{
SORT_HOST,
+ SORT_GAME,
SORT_MAP,
SORT_CLIENTS,
SORT_PING