about summary refs log tree commit diff stats
path: root/tools/validator/validator.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-11-01 12:18:25 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-11-01 12:18:25 -0400
commit21013ec0d1e3953276f11bd8cce12f33d46a33ec (patch)
treeb042bee93ad8d052db581bb04f6b5ddfd2547a72 /tools/validator/validator.cpp
parent8d92a32ada857dd0ce3d0e4a17aede7558b6a1b3 (diff)
downloadlingo2-archipelago-21013ec0d1e3953276f11bd8cce12f33d46a33ec.tar.gz
lingo2-archipelago-21013ec0d1e3953276f11bd8cce12f33d46a33ec.tar.bz2
lingo2-archipelago-21013ec0d1e3953276f11bd8cce12f33d46a33ec.zip
(Almost) all panels are locations or connections now
Diffstat (limited to 'tools/validator/validator.cpp')
-rw-r--r--tools/validator/validator.cpp6
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()