about summary refs log tree commit diff stats
path: root/game_data.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 21:00:00 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 21:00:00 -0400
commit1ec273825497fd6feda19079fa8006096777b11d (patch)
tree6b705070cde43de5dbf167f636bd13428e26b3a0 /game_data.cpp
parenta3eaefcd38f5f92dc342a2a43d37b6571d2a7a6d (diff)
downloadlingo-ap-tracker-1ec273825497fd6feda19079fa8006096777b11d.tar.gz
lingo-ap-tracker-1ec273825497fd6feda19079fa8006096777b11d.tar.bz2
lingo-ap-tracker-1ec273825497fd6feda19079fa8006096777b11d.zip
Support door shuffle
Diffstat (limited to 'game_data.cpp')
-rw-r--r--game_data.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/game_data.cpp b/game_data.cpp index af5f665..b1504de 100644 --- a/game_data.cpp +++ b/game_data.cpp
@@ -183,8 +183,13 @@ GameData::GameData() {
183 door_obj.skip_location = door_it.second["skip_location"].as<bool>(); 183 door_obj.skip_location = door_it.second["skip_location"].as<bool>();
184 } 184 }
185 185
186 if (door_it.second["skip_item"]) {
187 door_obj.skip_item = door_it.second["skip_item"].as<bool>();
188 }
189
186 if (door_it.second["event"]) { 190 if (door_it.second["event"]) {
187 door_obj.skip_location = door_it.second["event"].as<bool>(); 191 door_obj.skip_location = door_it.second["event"].as<bool>();
192 door_obj.skip_item = door_it.second["event"].as<bool>();
188 } 193 }
189 194
190 if (door_it.second["item_name"]) { 195 if (door_it.second["item_name"]) {