diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-11 17:19:54 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-11 17:19:54 -0400 |
commit | 8ad881fed6e388f7a254350532ce58552ef47a1d (patch) | |
tree | 0d4b20f6bcc7c5cbdad1cfe46b8ff3ea16ef85a2 /src/game_data.cpp | |
parent | 788c637adc08175533ef0ea54e76688679910cf3 (diff) | |
download | lingo-ap-tracker-8ad881fed6e388f7a254350532ce58552ef47a1d.tar.gz lingo-ap-tracker-8ad881fed6e388f7a254350532ce58552ef47a1d.tar.bz2 lingo-ap-tracker-8ad881fed6e388f7a254350532ce58552ef47a1d.zip |
New subway map paintings
Diffstat (limited to 'src/game_data.cpp')
-rw-r--r-- | src/game_data.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index 54b25b4..8ccc0da 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp | |||
@@ -778,13 +778,10 @@ struct GameData { | |||
778 | subway_it["door"].as<std::string>()); | 778 | subway_it["door"].as<std::string>()); |
779 | } | 779 | } |
780 | 780 | ||
781 | if (subway_it["paintings"]) { | 781 | if (subway_it["painting"]) { |
782 | for (const auto &painting_it : subway_it["paintings"]) { | 782 | std::string painting_id = subway_it["painting"].as<std::string>(); |
783 | std::string painting_id = painting_it.as<std::string>(); | 783 | subway_item.painting = painting_id; |
784 | 784 | subway_item_by_painting_[painting_id] = subway_item.id; | |
785 | subway_item.paintings.push_back(painting_id); | ||
786 | subway_item_by_painting_[painting_id] = subway_item.id; | ||
787 | } | ||
788 | } | 785 | } |
789 | 786 | ||
790 | if (subway_it["tags"]) { | 787 | if (subway_it["tags"]) { |