Skip GRF compatibility check when using -K/-q switches

This commit is contained in:
Jonathan G Rennison
2020-08-27 19:25:07 +01:00
parent 5db169b76f
commit e2de103d82
3 changed files with 3 additions and 1 deletions

View File

@@ -786,6 +786,7 @@ int openttd_main(int argc, char *argv[])
_load_check_data.Clear();
if (i == 'K') _load_check_data.want_debug_data = true;
_load_check_data.want_grf_compatibility = false;
SaveOrLoadResult res = SaveOrLoad(mgo.opt, SLO_CHECK, DFT_GAME_FILE, SAVE_DIR, false);
if (res != SL_OK || _load_check_data.HasErrors()) {
fprintf(stderr, "Failed to open savegame\n");