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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index 0786edb..4d448d3 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp
@@ -645,7 +645,7 @@ struct GameData {
645 .panels = {panel.id}, 645 .panels = {panel.id},
646 .classification = classification, 646 .classification = classification,
647 .hunt = panel.hunt, 647 .hunt = panel.hunt,
648 .panel = true}); 648 .single_panel = panel.id});
649 locations_by_name[location_name] = {area_id, 649 locations_by_name[location_name] = {area_id,
650 map_area.locations.size() - 1}; 650 map_area.locations.size() - 1};
651 } 651 }
@@ -698,7 +698,7 @@ struct GameData {
698 for (const Location &location : map_area.locations) { 698 for (const Location &location : map_area.locations) {
699 map_area.classification |= location.classification; 699 map_area.classification |= location.classification;
700 map_area.hunt |= location.hunt; 700 map_area.hunt |= location.hunt;
701 map_area.panel |= location.panel; 701 map_area.has_single_panel |= location.single_panel.has_value();
702 } 702 }
703 } 703 }
704 704