Check/print tick skip counter in desync and random logging.

This commit is contained in:
Jonathan G Rennison
2015-09-27 23:12:00 +01:00
parent 45d060f46f
commit f03cd98d04
7 changed files with 8 additions and 8 deletions

View File

@@ -1363,7 +1363,7 @@ void StateGameLoop()
CallWindowTickEvent();
NewsLoop();
} else {
if (_debug_desync_level > 2 && _date_fract == 0 && (_date & 0x1F) == 0) {
if (_debug_desync_level > 2 && _tick_skip_counter == 0 && _date_fract == 0 && (_date & 0x1F) == 0) {
/* Save the desync savegame if needed. */
char name[MAX_PATH];
seprintf(name, lastof(name), "dmp_cmds_%08x_%08x.sav", _settings_game.game_creation.generation_seed, _date);