From b95267df1445b882f2e482ef4d6006d2690fc478 Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Fri, 11 Jul 2014 20:59:44 -0400 Subject: [PATCH] add some debugging for game_classification when loading Carry forward some debugging info. This code was introduced in 1.12 branch in bug fix for 22086, commit e7eb08d0cd2d57b55bf084b669fbeec8d283db33 --- src/game_launcher.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game_launcher.cpp b/src/game_launcher.cpp index ae04f9e2910a..6ab96b7c475c 100644 --- a/src/game_launcher.cpp +++ b/src/game_launcher.cpp @@ -568,6 +568,10 @@ bool game_launcher::is_loading() const bool game_launcher::load_game() { + assert(resources::config_manager); + + DBG_GENERAL << "Current campaign type: " << state_.classification().campaign_type << std::endl; + savegame::loadgame load(disp(), resources::config_manager->game_config(), state_);