(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.

This commit is contained in:
rubidium
2006-08-15 14:52:17 +00:00
parent d447f025e9
commit 8aa76f306d
41 changed files with 105 additions and 105 deletions

View File

@@ -1313,7 +1313,7 @@ extern void SwitchMode(int new_mode);
/* Check if we want to restart the map */
static void NetworkCheckRestartMap(void)
{
if (_network_restart_game_date != 0 && _cur_year + MAX_YEAR_BEGIN_REAL >= _network_restart_game_date) {
if (_network_restart_game_year != 0 && _cur_year + MAX_YEAR_BEGIN_REAL >= _network_restart_game_year) {
DEBUG(net, 0)("Auto-restarting map. Year %d reached.", _cur_year + MAX_YEAR_BEGIN_REAL);
_random_seeds[0][0] = Random();