summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-22 18:42:56 +0000
committertruelight <truelight@openttd.org>2004-12-22 18:42:56 +0000
commit90b2b2144b9ef9ebd4ec30bf905ef7239e004891 (patch)
treec7a63eb27c2ca1faec5c97597ef87fd47ba0382c /misc.c
parented0a42f940db567088d39b583f0b66ed274ee20d (diff)
downloadopenttd-90b2b2144b9ef9ebd4ec30bf905ef7239e004891.tar.xz
(svn r1227) -Add: Ingame Server-list (select Internet, then Find Servers)
-Fix: UDPListener was launched wrongly -Fix: Not all sockets have broadcast enabled anymore -Fix: Server-advertise retries 3 times before giving up
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index a47b43a44..8ce6e8ce0 100644
--- a/misc.c
+++ b/misc.c
@@ -99,6 +99,9 @@ void SetDate(uint date)
ConvertDayToYMD(&ymd, _date = date);
_cur_year = ymd.year;
_cur_month = ymd.month;
+#ifdef ENABLE_NETWORK
+ _network_last_advertise_date = 0;
+#endif /* ENABLE_NETWORK */
}