From 21013ec0d1e3953276f11bd8cce12f33d46a33ec Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 1 Nov 2025 12:18:25 -0400 Subject: (Almost) all panels are locations or connections now --- tools/validator/validator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/validator/validator.cpp') 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 { if (h_door.type() == DoorType::STANDARD || h_door.type() == DoorType::LOCATION_ONLY || - h_door.type() == DoorType::GRAVESTONE || - h_door.type() == DoorType::LEGACY_LOCATION) { + h_door.type() == DoorType::GRAVESTONE || h_door.legacy_location()) { if (h_door.double_letters()) { std::cout << "Door " << door_identifier.ShortDebugString() << " is a location that depends on double_letters." @@ -241,7 +240,8 @@ class Validator { } } - bool needs_id = (h_door.type() != DoorType::EVENT || h_door.latch()); + bool needs_id = (h_door.type() != DoorType::EVENT || h_door.latch() || + h_door.legacy_location()); if (door_info.has_id != needs_id) { if (needs_id) { std::cout << "Door " << door_identifier.ShortDebugString() -- cgit 1.4.1