diff options
Diffstat (limited to 'game_data.cpp')
-rw-r--r-- | game_data.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/game_data.cpp b/game_data.cpp index 54a01ed..af5f665 100644 --- a/game_data.cpp +++ b/game_data.cpp | |||
@@ -252,7 +252,10 @@ GameData::GameData() { | |||
252 | MapArea &map_area = map_areas_[area_id]; | 252 | MapArea &map_area = map_areas_[area_id]; |
253 | // room field should be the original room ID | 253 | // room field should be the original room ID |
254 | map_area.locations.push_back( | 254 | map_area.locations.push_back( |
255 | {.name = panel.name, .room = panel.room, .panels = {panel.id}}); | 255 | {.name = panel.name, |
256 | .ap_location_name = room_name + " - " + panel.name, | ||
257 | .room = panel.room, | ||
258 | .panels = {panel.id}}); | ||
256 | } | 259 | } |
257 | } | 260 | } |
258 | 261 | ||
@@ -278,8 +281,10 @@ GameData::GameData() { | |||
278 | int area_id = AddOrGetArea(area_name); | 281 | int area_id = AddOrGetArea(area_name); |
279 | MapArea &map_area = map_areas_[area_id]; | 282 | MapArea &map_area = map_areas_[area_id]; |
280 | // room field should be the original room ID | 283 | // room field should be the original room ID |
281 | map_area.locations.push_back( | 284 | map_area.locations.push_back({.name = section_name, |
282 | {.name = section_name, .room = door.room, .panels = door.panels}); | 285 | .ap_location_name = door.location_name, |
286 | .room = door.room, | ||
287 | .panels = door.panels}); | ||
283 | } | 288 | } |
284 | } | 289 | } |
285 | } | 290 | } |