about summary refs log tree commit diff stats
path: root/src/game_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_data.cpp')
-rw-r--r--src/game_data.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index f51d7ac..2022097 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp
@@ -247,6 +247,10 @@ struct GameData {
247 achievement_panels_.push_back(panel_id); 247 achievement_panels_.push_back(panel_id);
248 } 248 }
249 249
250 if (panel_it.second["hunt"]) {
251 panel_obj.hunt = panel_it.second["hunt"].as<bool>();
252 }
253
250 if (panel_it.second["exclude_reduce"]) { 254 if (panel_it.second["exclude_reduce"]) {
251 panel_obj.exclude_reduce = 255 panel_obj.exclude_reduce =
252 panel_it.second["exclude_reduce"].as<bool>(); 256 panel_it.second["exclude_reduce"].as<bool>();
@@ -493,7 +497,8 @@ struct GameData {
493 .ap_location_id = panel.ap_location_id, 497 .ap_location_id = panel.ap_location_id,
494 .room = panel.room, 498 .room = panel.room,
495 .panels = {panel.id}, 499 .panels = {panel.id},
496 .classification = classification}); 500 .classification = classification,
501 .hunt = panel.hunt});
497 locations_by_name[map_area.locations.back().ap_location_name] = { 502 locations_by_name[map_area.locations.back().ap_location_name] = {
498 area_id, map_area.locations.size() - 1}; 503 area_id, map_area.locations.size() - 1};
499 } 504 }