diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-23 11:48:45 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-23 11:48:45 -0400 |
| commit | 3cb2ced48dec3b9ea60e008b2a3598a322458adf (patch) | |
| tree | 448c68670b89bf7f8d666ac57fa45c8265e06a2a /tools | |
| parent | 71ac41d5e3b426456f30229df3130989abceae99 (diff) | |
| download | lingo2-archipelago-3cb2ced48dec3b9ea60e008b2a3598a322458adf.tar.gz lingo2-archipelago-3cb2ced48dec3b9ea60e008b2a3598a322458adf.tar.bz2 lingo2-archipelago-3cb2ced48dec3b9ea60e008b2a3598a322458adf.zip | |
Fixed typos in the_advanced locations
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/validator/validator.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
| diff --git a/tools/validator/validator.cpp b/tools/validator/validator.cpp index d651e04..43d842d 100644 --- a/tools/validator/validator.cpp +++ b/tools/validator/validator.cpp | |||
| @@ -225,13 +225,19 @@ class Validator { | |||
| 225 | << " needs an explicit location name." << std::endl; | 225 | << " needs an explicit location name." << std::endl; |
| 226 | } | 226 | } |
| 227 | 227 | ||
| 228 | if (h_door.double_letters() && | 228 | if (h_door.type() == DoorType::STANDARD || |
| 229 | (h_door.type() == DoorType::STANDARD || | 229 | h_door.type() == DoorType::LOCATION_ONLY || |
| 230 | h_door.type() == DoorType::LOCATION_ONLY || | 230 | h_door.type() == DoorType::GRAVESTONE) { |
| 231 | h_door.type() == DoorType::GRAVESTONE)) { | 231 | if (h_door.double_letters()) { |
| 232 | std::cout << "Door " << door_identifier.ShortDebugString() | 232 | std::cout << "Door " << door_identifier.ShortDebugString() |
| 233 | << " is a location that depends on double_letters." | 233 | << " is a location that depends on double_letters." |
| 234 | << std::endl; | 234 | << std::endl; |
| 235 | } | ||
| 236 | |||
| 237 | if (!h_door.has_location_room()) { | ||
| 238 | std::cout << "Door " << door_identifier.ShortDebugString() | ||
| 239 | << " is missing a location_room." << std::endl; | ||
| 240 | } | ||
| 235 | } | 241 | } |
| 236 | 242 | ||
| 237 | bool needs_id = (h_door.type() != DoorType::EVENT || h_door.latch()); | 243 | bool needs_id = (h_door.type() != DoorType::EVENT || h_door.latch()); |
