Store crash/desync logs in crash/desync savegame

Add console command to dump loaded debug log
This commit is contained in:
Jonathan G Rennison
2019-05-21 01:49:40 +01:00
parent 951a50ddd9
commit 5a9790a196
20 changed files with 90 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
_thd.redsq = INVALID_TILE;
_game_events_since_load = (GameEventFlags) 0;
_game_events_overall = (GameEventFlags) 0;
_loadgame_DBGL_data.clear();
if (reset_settings) MakeNewgameSettingsLive();
if (reset_date) {