diff --git a/src/newcharacter.cpp b/src/newcharacter.cpp index 0d6369296cfea..de0a7c358c9ac 100644 --- a/src/newcharacter.cpp +++ b/src/newcharacter.cpp @@ -105,6 +105,8 @@ static constexpr int NEWCHAR_TAB_MAX = 6 ; static int skill_increment_cost( const Character &u, const skill_id &skill ); +extern bool test_mode; + enum struct tab_direction { NONE, FORWARD, @@ -374,6 +376,9 @@ void avatar::randomize( const bool random_scenario, points_left &points, bool pl void avatar::add_profession_items() { + if( test_mode ) { + DebugLog( D_INFO, DC_ALL ) << "add_profession_items for profession: " << prof->ident().str(); + } std::list prof_items = prof->items( male, get_mutations() ); for( item &it : prof_items ) {