From 6b96b5ffd0498cd9c624605db0edf4ad85ec4505 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Thu, 12 Oct 2006 14:59:27 +0000 Subject: (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. --- date.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'date.c') 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) { -- cgit v1.2.3-54-g00ecf