about summary refs log tree commit diff stats
path: root/src/game_data.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-09-08 08:51:43 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-09-08 08:51:43 -0400
commit0e6be5bbe8c506882e8100ccaaf13a5f58079f97 (patch)
tree4fee4d578e7936cb4052a74b93064c5ea845521f /src/game_data.cpp
parentc443acfd0b25b3e4f3446f795777b8dd18b00e2b (diff)
parent86b4b06e78c5c71588c1b55273969a1327a6710a (diff)
downloadlingo-ap-tracker-0e6be5bbe8c506882e8100ccaaf13a5f58079f97.tar.gz
lingo-ap-tracker-0e6be5bbe8c506882e8100ccaaf13a5f58079f97.tar.bz2
lingo-ap-tracker-0e6be5bbe8c506882e8100ccaaf13a5f58079f97.zip
Merge branch 'main' into panels
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