diff options
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 | ||