summaryrefslogtreecommitdiff
path: root/src/network/network_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2015-09-19 16:49:46 +0000
committerrubidium <rubidium@openttd.org>2015-09-19 16:49:46 +0000
commitff5c05c1b41196589b1bf847a4973ef812e1ddfc (patch)
treeccb18c2d7bd071ecfc73d5ab2175689fb5b8f0c5 /src/network/network_func.h
parent8fbcc2b45c9b7ac0e9282e57bba1e5daf8c6e630 (diff)
downloadopenttd-ff5c05c1b41196589b1bf847a4973ef812e1ddfc.tar.xz
(svn r27400) -Fix [FS#6368] (r26449): when a dedicated server was paused with no clients the tick length was increased significantly, making any assumptions about the tick length used further down in the code are not true anymore. One of such assumptions was that one should readvertise every 15 minutes worth of original ticks, but due to the lengthening this timeframe would be more like 45-60 minutes. Now we'll take the operating system's millisecond counter instead
Diffstat (limited to 'src/network/network_func.h')
-rw-r--r--src/network/network_func.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_func.h b/src/network/network_func.h
index 375cc3da5..4f1525b5a 100644
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -34,7 +34,6 @@ extern NetworkCompanyState *_network_company_states;
extern ClientID _network_own_client_id;
extern ClientID _redirect_console_to_client;
extern bool _network_need_advertise;
-extern uint32 _network_last_advertise_frame;
extern uint8 _network_reconnect;
extern StringList _network_bind_list;
extern StringList _network_host_list;