summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-22 10:23:37 +0000
committerdominik <dominik@openttd.org>2004-08-22 10:23:37 +0000
commit0bd907e88df535a11483b5bdcb5763a5fce0cbf5 (patch)
treeba05804e536e0dfe9e8f04ff59eca4cecbea04e5 /misc.c
parentb2340212c393d2488b8554dccafb9ab56e00dee5 (diff)
downloadopenttd-0bd907e88df535a11483b5bdcb5763a5fce0cbf5.tar.xz
(svn r106) New network core (by sign_de)
Features: * network core is dynamicly loaded when needed (-n isn't needed anymore) for easy switching between single and multiplayer. But commandline shortcuts are still enabled: -n = autodetect network server -n [ip] = connect to the server * udp now uses 2 different ports - you can run 1 server and serveral clients on one pc - the clients udp-socket gets unloaded when the network game starts - the servers udp-sockets remains online to allow the network gui to detect itself * new gameinfo structure this struct is available for every online/lan game * dynamic NetworkGameList
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index 2a57f73ba..06e790019 100644
--- a/misc.c
+++ b/misc.c
@@ -542,6 +542,8 @@ void IncreaseDate()
/* yeah, increse day counter and call various daily loops */
_date++;
+ NetworkGameChangeDate(_date);
+
_vehicle_id_ctr_day = 0;
DisasterDailyLoop();