diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-24 23:42:48 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-25 00:12:36 +0200 |
commit | bbfa8faf5337ebdff60ef2106074417aa628eca1 (patch) | |
tree | 99604a6bc9a99f1c68232cfff84f01192991f1a9 /src/openvic-simulation/economy/Good.cpp | |
parent | 3714db86f7c52674e044566096f389660a67a039 (diff) |
Adding terrain image/type loading
Diffstat (limited to 'src/openvic-simulation/economy/Good.cpp')
-rw-r--r-- | src/openvic-simulation/economy/Good.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/economy/Good.cpp b/src/openvic-simulation/economy/Good.cpp index f1da8bd..8a04e39 100644 --- a/src/openvic-simulation/economy/Good.cpp +++ b/src/openvic-simulation/economy/Good.cpp @@ -112,8 +112,8 @@ bool GoodManager::load_goods_file(ast::NodeCPtr root) { [this, good_category](std::string_view key, ast::NodeCPtr value) -> bool { colour_t colour = NULL_COLOUR; Good::price_t base_price; - bool available_from_start, tradeable = true; - bool money, overseas_penalty = false; + bool available_from_start = true, tradeable = true; + bool money = false, overseas_penalty = false; bool ret = expect_dictionary_keys( "color", ONE_EXACTLY, expect_colour(assign_variable_callback(colour)), |