summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-01-19 17:50:40 +0000
committerpeter1138 <peter1138@openttd.org>2006-01-19 17:50:40 +0000
commite78997fdfd963ca9b382a949d71056ccaef8f0eb (patch)
tree458baf2f0c3216b2d748ed0f28bb2c37f51830b4 /network.h
parent6971aee967b53da11a432f91103847da1db80e22 (diff)
downloadopenttd-e78997fdfd963ca9b382a949d71056ccaef8f0eb.tar.xz
(svn r3409) - Change the server advertisement interval to use the frame counter instead
of game days. This allows a paused server to continue to advertise itself. This also fixes advertising for games that start before 1922.
Diffstat (limited to 'network.h')
-rw-r--r--network.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/network.h b/network.h
index a121af950..e7adfd4ba 100644
--- a/network.h
+++ b/network.h
@@ -197,7 +197,8 @@ VARDEF uint16 _network_udp_broadcast;
VARDEF byte _network_lan_internet;
VARDEF bool _network_advertise;
-VARDEF uint16 _network_last_advertise_date;
+VARDEF bool _network_need_advertise;
+VARDEF uint32 _network_last_advertise_frame;
VARDEF uint8 _network_advertise_retries;
VARDEF bool _network_autoclean_companies;