diff options
| -rw-r--r-- | src/port/resource/importers/TrackPathPointFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/resource/importers/TrackPathPointFactory.cpp b/src/port/resource/importers/TrackPathPointFactory.cpp index 6583dac8f..bacda0074 100644 --- a/src/port/resource/importers/TrackPathPointFactory.cpp +++ b/src/port/resource/importers/TrackPathPointFactory.cpp @@ -42,7 +42,7 @@ ResourceFactoryXMLTrackPathPointsV0::ReadResource(std::shared_ptr<Ship::File> fi auto root = std::get<std::shared_ptr<tinyxml2::XMLDocument>>(file->Reader)->FirstChildElement(); - auto path = root->FirstChildElement("TrackPathPoint"); + auto path = root->FirstChildElement("TrackWaypoint"); while (path != nullptr) { |
