diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-24 14:17:40 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-24 14:17:40 -0400 |
commit | e7503333e1a71fab0c97315ae0a8ac1388f10d14 (patch) | |
tree | 24aa1e3c49419f365cdd900f6e080f5fe72eca20 /src/game_data.cpp | |
parent | 4ffb5871e4bc54ab6765fcd738835c295d1e2924 (diff) | |
download | lingo-ap-tracker-e7503333e1a71fab0c97315ae0a8ac1388f10d14.tar.gz lingo-ap-tracker-e7503333e1a71fab0c97315ae0a8ac1388f10d14.tar.bz2 lingo-ap-tracker-e7503333e1a71fab0c97315ae0a8ac1388f10d14.zip |
Save analysis uses remote location for non-counting panels
Diffstat (limited to 'src/game_data.cpp')
-rw-r--r-- | src/game_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index b8e1386..c39e239 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp | |||
@@ -570,7 +570,7 @@ struct GameData { | |||
570 | .panels = {panel.id}, | 570 | .panels = {panel.id}, |
571 | .classification = classification, | 571 | .classification = classification, |
572 | .hunt = panel.hunt, | 572 | .hunt = panel.hunt, |
573 | .panel = true}); | 573 | .single_panel = panel.id}); |
574 | locations_by_name[location_name] = {area_id, | 574 | locations_by_name[location_name] = {area_id, |
575 | map_area.locations.size() - 1}; | 575 | map_area.locations.size() - 1}; |
576 | } | 576 | } |
@@ -623,7 +623,7 @@ struct GameData { | |||
623 | for (const Location &location : map_area.locations) { | 623 | for (const Location &location : map_area.locations) { |
624 | map_area.classification |= location.classification; | 624 | map_area.classification |= location.classification; |
625 | map_area.hunt |= location.hunt; | 625 | map_area.hunt |= location.hunt; |
626 | map_area.panel |= location.panel; | 626 | map_area.has_single_panel |= location.single_panel.has_value(); |
627 | } | 627 | } |
628 | } | 628 | } |
629 | 629 | ||