diff options
author | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-09-22 20:51:01 +0200 |
---|---|---|
committer | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-09-22 20:51:01 +0200 |
commit | e966b91c3f3798acc42a4134569c2ac636723b4c (patch) | |
tree | d0207a84e8a1a2219a81b07e9cff9db013d267a6 /src/openvic-simulation/map/ProvinceInstance.cpp | |
parent | 873229df9f38ff19eb23018fd522bb313e511085 (diff) |
ProductionType const& output_good
Diffstat (limited to 'src/openvic-simulation/map/ProvinceInstance.cpp')
-rw-r--r-- | src/openvic-simulation/map/ProvinceInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/ProvinceInstance.cpp b/src/openvic-simulation/map/ProvinceInstance.cpp index e8361da..4efcfee 100644 --- a/src/openvic-simulation/map/ProvinceInstance.cpp +++ b/src/openvic-simulation/map/ProvinceInstance.cpp @@ -42,7 +42,7 @@ ProvinceInstance::ProvinceInstance( GoodDefinition const* ProvinceInstance::get_rgo_good() const { if(!rgo.is_valid()) { return nullptr; } - return rgo.get_production_type()->get_output_good(); + return &(rgo.get_production_type()->get_output_good()); } void ProvinceInstance::set_rgo_production_type(ProductionType const& rgo_production_type) { if(rgo_production_type.get_template_type() != ProductionType::template_type_t::RGO) { |