aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/GoodInstance.cpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-10-30 22:08:36 +0100
committer GitHub <noreply@github.com>2024-10-30 22:08:36 +0100
commit5d8451172fefa93f6f53583fa6b8723f1dd3598e (patch)
tree187df50130475006b404c5ab57f0fa679173ad04 /src/openvic-simulation/economy/GoodInstance.cpp
parent48e4e92682db99239e928a67e6677cdd2c53a375 (diff)
parent0d861669d9e1f5d487c810ae01be50f142790f1e (diff)
Merge pull request #206 from OpenVicProject/prepare_for_rgo
Prepare for rgo
Diffstat (limited to 'src/openvic-simulation/economy/GoodInstance.cpp')
-rw-r--r--src/openvic-simulation/economy/GoodInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/economy/GoodInstance.cpp b/src/openvic-simulation/economy/GoodInstance.cpp
index 6fe3a2f..ac081c9 100644
--- a/src/openvic-simulation/economy/GoodInstance.cpp
+++ b/src/openvic-simulation/economy/GoodInstance.cpp
@@ -4,7 +4,7 @@ using namespace OpenVic;
GoodInstance::GoodInstance(GoodDefinition const& new_good_definition)
: HasIdentifierAndColour { new_good_definition }, good_definition { new_good_definition },
- price { new_good_definition.get_base_price() }, available { new_good_definition.is_available_from_start() } {}
+ price { new_good_definition.get_base_price() }, is_available { new_good_definition.get_is_available_from_start() } {}
bool GoodInstanceManager::setup(GoodDefinitionManager const& good_definition_manager) {
if (good_instances_are_locked()) {