diff options
Diffstat (limited to 'tools/validator')
| -rw-r--r-- | tools/validator/validator.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/tools/validator/validator.cpp b/tools/validator/validator.cpp index a99447a..fe36be7 100644 --- a/tools/validator/validator.cpp +++ b/tools/validator/validator.cpp | |||
| @@ -227,8 +227,7 @@ class Validator { | |||
| 227 | 227 | ||
| 228 | if (h_door.type() == DoorType::STANDARD || | 228 | if (h_door.type() == DoorType::STANDARD || | 
| 229 | h_door.type() == DoorType::LOCATION_ONLY || | 229 | h_door.type() == DoorType::LOCATION_ONLY || | 
| 230 | h_door.type() == DoorType::GRAVESTONE || | 230 | h_door.type() == DoorType::GRAVESTONE || h_door.legacy_location()) { | 
| 231 | h_door.type() == DoorType::LEGACY_LOCATION) { | ||
| 232 | if (h_door.double_letters()) { | 231 | if (h_door.double_letters()) { | 
| 233 | std::cout << "Door " << door_identifier.ShortDebugString() | 232 | std::cout << "Door " << door_identifier.ShortDebugString() | 
| 234 | << " is a location that depends on double_letters." | 233 | << " is a location that depends on double_letters." | 
| @@ -241,7 +240,8 @@ class Validator { | |||
| 241 | } | 240 | } | 
| 242 | } | 241 | } | 
| 243 | 242 | ||
| 244 | bool needs_id = (h_door.type() != DoorType::EVENT || h_door.latch()); | 243 | bool needs_id = (h_door.type() != DoorType::EVENT || h_door.latch() || | 
| 244 | h_door.legacy_location()); | ||
| 245 | if (door_info.has_id != needs_id) { | 245 | if (door_info.has_id != needs_id) { | 
| 246 | if (needs_id) { | 246 | if (needs_id) { | 
| 247 | std::cout << "Door " << door_identifier.ShortDebugString() | 247 | std::cout << "Door " << door_identifier.ShortDebugString() | 
