(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.
This commit is contained in:
Darkvater
2006-10-12 14:59:27 +00:00
parent 15bf48acfd
commit cad526ef36
11 changed files with 55 additions and 54 deletions

4
date.c
View File

@@ -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) {