diff --git a/src/profession_group.h b/src/profession_group.h index 9fff408175d54..54b3d06c9b854 100644 --- a/src/profession_group.h +++ b/src/profession_group.h @@ -11,7 +11,7 @@ struct profession_group { void load( const JsonObject &jo, const std::string_view & ); static const std::vector &get_all(); static void check_profession_group_consistency(); - bool was_loaded; + bool was_loaded = false; std::vector get_professions() const; profession_group_id get_id() const;