1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 04:59:11 +00:00

(svn r13256) -Codechange: merge the OPTS and PATS chuncks.

-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
This commit is contained in:
rubidium
2008-05-26 00:31:36 +00:00
parent 8c9cc415e3
commit cd8e589fa9
12 changed files with 260 additions and 266 deletions

View File

@@ -67,6 +67,7 @@ void InitializeGame(int mode, uint size_x, uint size_y)
_realtime_tick = 0;
_date_fract = 0;
_cur_tileloop_tile = 0;
_settings = _settings_newgame;
if ((mode & IG_DATE_RESET) == IG_DATE_RESET) {
SetDate(ConvertYMDToDate(_settings.game_creation.starting_year, 0, 1));