Merge branch 'randomizer' of https://github.com/TwilitRealm/dusk into randomizer

This commit is contained in:
gymnast86
2026-06-03 16:49:15 -07:00
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ namespace dusk {
LocationTrackerInfo info {
.locationName = location->GetName(),
.logicStr = location->GetComputedRequirement().to_string(),
.locationItem = itemId >= 0 ? world->GetItem(itemId)->GetName() : "Unknown",
.locationItem = itemId >= 0 ? world->GetItem(itemId, true)->GetName() : "Unknown",
.accessible = m_currentSearch._visitedLocations.contains(location)
};
+2 -1
View File
@@ -168,10 +168,11 @@ int getTempleKeysFound(int stage) {
};
int count = dComIfGs_getKeyNum(stage);
int saveId = getStageSaveId(stage);
// Add number of unlocked key doors for this dungeon to current key count
for (auto flag : keyDoorFlags[stage]) {
if (dComIfGs_isSwitch(stage, flag)) {
if (tracker_isStageSwitch(saveId, flag)) {
count += 1;
}
}