diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-23 12:28:39 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-23 12:28:39 -0400 |
| commit | 1d81570d217e7827ad089f07272bfa668a172c3d (patch) | |
| tree | ccc6b06d17a57ef6a0c5f437150ae64d035b257d /tools/validator | |
| parent | b5942389aa81b2f10e57e27e1c39164b1197b111 (diff) | |
| download | lingo2-archipelago-1d81570d217e7827ad089f07272bfa668a172c3d.tar.gz lingo2-archipelago-1d81570d217e7827ad089f07272bfa668a172c3d.tar.bz2 lingo2-archipelago-1d81570d217e7827ad089f07272bfa668a172c3d.zip | |
Allow validator to ignore custom nodes
Diffstat (limited to 'tools/validator')
| -rw-r--r-- | tools/validator/human_processor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
| diff --git a/tools/validator/human_processor.cpp b/tools/validator/human_processor.cpp index de80db0..5a1c095 100644 --- a/tools/validator/human_processor.cpp +++ b/tools/validator/human_processor.cpp | |||
| @@ -78,6 +78,10 @@ class HumanProcessor { | |||
| 78 | map_info.game_nodes[path].uses++; | 78 | map_info.game_nodes[path].uses++; |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | for (const std::string& path : metadata.custom_nodes()) { | ||
| 82 | map_info.game_nodes[path].defined = true; | ||
| 83 | } | ||
| 84 | |||
| 81 | if (metadata.has_worldport_entrance()) { | 85 | if (metadata.has_worldport_entrance()) { |
| 82 | auto port_identifier = GetCompletePortIdentifier( | 86 | auto port_identifier = GetCompletePortIdentifier( |
| 83 | metadata.worldport_entrance(), current_map_name, std::nullopt); | 87 | metadata.worldport_entrance(), current_map_name, std::nullopt); |
