diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-12 14:59:27 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-12 14:59:27 +0000 |
commit | 6b96b5ffd0498cd9c624605db0edf4ad85ec4505 (patch) | |
tree | 9d8040d778bee72bdeda716299434c03e98d3b14 /date.c | |
parent | b38ef09afc6c1ff34800730be7236f3723c30b8b (diff) | |
download | openttd-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) { |