diff options
author | rubidium <rubidium@openttd.org> | 2009-04-03 12:49:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-03 12:49:58 +0000 |
commit | 89d0eca6b74e3e2986425991674d3ffc67e9b974 (patch) | |
tree | a9a8b85ca45707ad3ca8b3d702645e0741aa5516 /src/network/network_func.h | |
parent | d84fb358f5e8628bc9dc89edf9494248e6fe0a97 (diff) | |
download | openttd-89d0eca6b74e3e2986425991674d3ffc67e9b974.tar.xz |
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
Diffstat (limited to 'src/network/network_func.h')
-rw-r--r-- | src/network/network_func.h | 5 |
1 files changed, 3 insertions, 2 deletions
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(); |