summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-12 14:59:27 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-12 14:59:27 +0000
commit6b96b5ffd0498cd9c624605db0edf4ad85ec4505 (patch)
tree9d8040d778bee72bdeda716299434c03e98d3b14 /date.c
parentb38ef09afc6c1ff34800730be7236f3723c30b8b (diff)
downloadopenttd-6b96b5ffd0498cd9c624605db0edf4ad85ec4505.tar.xz
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
disabled hardcode _networking/_network_available to zero and let the compiler handle all optimizations.
Diffstat (limited to 'date.c')
-rw-r--r--date.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/date.c b/date.c
index 685c31871..c9b02d013 100644
--- a/date.c
+++ b/date.c
@@ -254,9 +254,7 @@ void IncreaseDate(void)
TownsMonthlyLoop();
IndustryMonthlyLoop();
StationMonthlyLoop();
-#ifdef ENABLE_NETWORK
if (_network_server) NetworkServerMonthlyLoop();
-#endif /* ENABLE_NETWORK */
}
/* check if we entered a new year? */
@@ -269,9 +267,7 @@ void IncreaseDate(void)
RoadVehiclesYearlyLoop();
AircraftYearlyLoop();
ShipsYearlyLoop();
-#ifdef ENABLE_NETWORK
if (_network_server) NetworkServerYearlyLoop();
-#endif /* ENABLE_NETWORK */
/* check if we reached end of the game */
if (_cur_year == _patches.ending_year) {