fix show-ep3-maps

This commit is contained in:
Martin Michelsen
2023-10-08 09:24:56 -07:00
parent 29dd0caaab
commit e723e80171
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5190,7 +5190,7 @@ struct G_MapList_GC_Ep3_6xB6x40 {
le_uint16_t compressed_data_size;
le_uint16_t unused;
// PRS-compressed map list data follows here. newserv generates this from the
// map index at startup; see the MapList struct in Episode3/DataIndexes.hh
// map index when requested; see the MapList struct in Episode3/DataIndexes.hh
// and Episode3::MapIndex::get_compressed_map_list for details on the format.
} __packed__;
+1 -1
View File
@@ -1787,7 +1787,7 @@ int main(int argc, char** argv) {
case Behavior::SHOW_EP3_MAPS: {
config_log.info("Collecting Episode 3 data");
Episode3::MapIndex map_index("system/ep3");
Episode3::MapIndex map_index("system/ep3/maps");
Episode3::CardIndex card_index("system/ep3/card-definitions.mnr", "system/ep3/card-definitions.mnrd", "system/ep3/card-text.mnr", "system/ep3/card-text.mnrd");
auto map_ids = map_index.all_numbers();