From 89d0eca6b74e3e2986425991674d3ffc67e9b974 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 3 Apr 2009 12:49:58 +0000 Subject: (svn r15931) -Codechange: let the host and ban lists use of SmallVector. --- src/network/network_func.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/network/network_func.h') diff --git a/src/network/network_func.h b/src/network/network_func.h index 9fdcfa2d5..552abba74 100644 --- a/src/network/network_func.h +++ b/src/network/network_func.h @@ -11,6 +11,7 @@ #include "network_type.h" #include "../console_type.h" #include "../gfx_type.h" +#include "../core/smallvec_type.hpp" extern NetworkServerGameInfo _network_game_info; extern NetworkCompanyState *_network_company_states; @@ -20,8 +21,8 @@ extern ClientID _redirect_console_to_client; extern bool _network_need_advertise; extern uint32 _network_last_advertise_frame; extern uint8 _network_reconnect; -extern char *_network_host_list[10]; -extern char *_network_ban_list[25]; +extern StringList _network_host_list; +extern StringList _network_ban_list; byte NetworkSpectatorCount(); void NetworkUpdateClientName(); -- cgit v1.2.3-54-g00ecf