about summary refs log tree commit diff stats
path: root/game_data.cpp
diff options
context:
space:
mode:
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"]) {