Show time and in game date of game load in desync/crash logs

This commit is contained in:
Jonathan G Rennison
2019-06-14 21:43:50 +01:00
parent f3daada67f
commit 1d5ba98932
7 changed files with 37 additions and 2 deletions

View File

@@ -83,6 +83,10 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
_road_layout_change_counter = 0;
_game_events_since_load = (GameEventFlags) 0;
_game_events_overall = (GameEventFlags) 0;
_game_load_cur_date_ymd = { 0, 0, 0 };
_game_load_date_fract = 0;
_game_load_tick_skip_counter = 0;
_game_load_time = 0;
_loadgame_DBGL_data.clear();
if (reset_settings) MakeNewgameSettingsLive();