diff --git a/cpp/tiledmap.cc b/cpp/tiledmap.cc index faafd70..02a2141 100644 --- a/cpp/tiledmap.cc +++ b/cpp/tiledmap.cc @@ -478,10 +478,15 @@ namespace f8 std::string path_name = a8::Format("%d-%d", {stage_id, relation_point}); std::shared_ptr points_xobj = waypoints_json.At(path_name); if (!points_xobj) { - abort(); + path_name = a8::Format("%d-%d", {relation_point, stage_id}); + points_xobj = waypoints_json.At(path_name); + if (!points_xobj) { + continue; + // abort(); + } } if (stage_path_hash.find(path_name) != stage_path_hash.end()) { - abort(); + continue; } stage_path_hash[path_name] = std::vector(); std::vector& path_points = stage_path_hash[path_name];