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 | cad526ef3658ad6420939a6d51707c9dbfee97c3 (patch) | |
tree | 9d8040d778bee72bdeda716299434c03e98d3b14 /date.c | |
parent | 15bf48acfda4ce5e5291e0a68292d7f9d9b6a569 (diff) | |
download | openttd-cad526ef3658ad6420939a6d51707c9dbfee97c3.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) { |