IOQ3 commit 2318

This commit is contained in:
Richard Allen 2012-12-12 19:06:00 +00:00
parent 4b89353f50
commit 49b625704c

View file

@ -88,6 +88,8 @@ MULTIPLAYER MENU (SERVER BROWSER)
#define UIAS_GLOBAL5 5
#define UIAS_FAVORITES 6
#define UI_MAX_MASTER_SERVERS 5
#define SORT_HOST 0
#define SORT_MAP 1
#define SORT_CLIENTS 2
@ -242,8 +244,8 @@ typedef struct {
static arenaservers_t g_arenaservers;
static servernode_t g_globalserverlist[MAX_GLOBALSERVERS];
static int g_numglobalservers;
static servernode_t g_globalserverlist[UI_MAX_MASTER_SERVERS][MAX_GLOBALSERVERS];
static int g_numglobalservers[UI_MAX_MASTER_SERVERS];
static servernode_t g_localserverlist[MAX_LOCALSERVERS];
static int g_numlocalservers;
static servernode_t g_favoriteserverlist[MAX_FAVORITESERVERS];
@ -1134,8 +1136,8 @@ int ArenaServers_SetType( int type )
case UIAS_GLOBAL4:
case UIAS_GLOBAL5:
g_arenaservers.remove.generic.flags |= (QMF_INACTIVE|QMF_HIDDEN);
g_arenaservers.serverlist = g_globalserverlist;
g_arenaservers.numservers = &g_numglobalservers;
g_arenaservers.serverlist = g_globalserverlist[type-UIAS_GLOBAL1];
g_arenaservers.numservers = &g_numglobalservers[type-UIAS_GLOBAL1];
g_arenaservers.maxservers = MAX_GLOBALSERVERS;
break;