diff options
Diffstat (limited to 'game_data.cpp')
-rw-r--r-- | game_data.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/game_data.cpp b/game_data.cpp index 9b31f89..e15847e 100644 --- a/game_data.cpp +++ b/game_data.cpp | |||
@@ -157,6 +157,14 @@ GameData::GameData() { | |||
157 | panel_obj.check = panel_it.second["check"].as<bool>(); | 157 | panel_obj.check = panel_it.second["check"].as<bool>(); |
158 | } | 158 | } |
159 | 159 | ||
160 | if (panel_it.second["achievement"]) { | ||
161 | panel_obj.achievement = panel_it.second["achievement"].as<bool>(); | ||
162 | |||
163 | if (panel_obj.achievement) { | ||
164 | achievement_panels_.push_back(panel_id); | ||
165 | } | ||
166 | } | ||
167 | |||
160 | if (panel_it.second["exclude_reduce"]) { | 168 | if (panel_it.second["exclude_reduce"]) { |
161 | panel_obj.exclude_reduce = | 169 | panel_obj.exclude_reduce = |
162 | panel_it.second["exclude_reduce"].as<bool>(); | 170 | panel_it.second["exclude_reduce"].as<bool>(); |