diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-09 09:43:17 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-09 09:43:17 -0400 |
| commit | 9240e7e7a81072e561f969aff375d979cf2112e8 (patch) | |
| tree | faefd2e31382ff99c9e41fb852c570ef5a3778a6 /tools | |
| parent | 964a97e8554d29e58c37de93dc1dd5b3a8bf8320 (diff) | |
| download | lingo2-archipelago-9240e7e7a81072e561f969aff375d979cf2112e8.tar.gz lingo2-archipelago-9240e7e7a81072e561f969aff375d979cf2112e8.tar.bz2 lingo2-archipelago-9240e7e7a81072e561f969aff375d979cf2112e8.zip | |
Assigned IDs for the_bearer
assign_ids now doesn't assign IDs for event doors, since they can't ever be locations or items.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/assign_ids/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
| diff --git a/tools/assign_ids/main.cpp b/tools/assign_ids/main.cpp index 39b532a..f10a21c 100644 --- a/tools/assign_ids/main.cpp +++ b/tools/assign_ids/main.cpp | |||
| @@ -112,6 +112,10 @@ class AssignIds { | |||
| 112 | 112 | ||
| 113 | void ProcessDoor(const HumanDoor& h_door, | 113 | void ProcessDoor(const HumanDoor& h_door, |
| 114 | const std::string& current_map_name) { | 114 | const std::string& current_map_name) { |
| 115 | if (h_door.type() == DoorType::EVENT) { | ||
| 116 | return; | ||
| 117 | } | ||
| 118 | |||
| 115 | if (!id_mappings_.maps().contains(current_map_name) || | 119 | if (!id_mappings_.maps().contains(current_map_name) || |
| 116 | !id_mappings_.maps() | 120 | !id_mappings_.maps() |
| 117 | .at(current_map_name) | 121 | .at(current_map_name) |
