diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2025-04-07 17:24:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 17:24:24 -0400 |
| commit | 98146c29f9a4acc341bd020325c598d4364011ee (patch) | |
| tree | 6e3bb528ba301c7b77fdd8bcaddfd63be198fa59 | |
| parent | c351a2cf7516a6fb04d088d247b2794e4b0c3333 (diff) | |
fix blank names in spoiler (#5329)
* fix blank names in spoiler
* replace a couple more `.english`/`.french` with `.GetEnglish()`/`.GetFrench()`
| -rw-r--r-- | soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp index 7938d8665..a1c912773 100644 --- a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp @@ -267,10 +267,10 @@ static void WriteAllLocations() { switch (gSaveContext.language) { case 0: default: - placedItemName = location->GetPlacedItemName().english; + placedItemName = location->GetPlacedItemName().GetEnglish(); break; case 2: - placedItemName = location->GetPlacedItemName().french; + placedItemName = location->GetPlacedItemName().GetFrench(); break; } @@ -303,18 +303,18 @@ static void WriteAllLocations() { ["model"] = Rando::StaticData::RetrieveItem( ctx->overrides[location->GetRandomizerCheck()].LooksLike()) .GetName() - .english; + .GetEnglish(); jsonData["locations"][Rando::StaticData::GetLocation(location->GetRandomizerCheck())->GetName()] - ["trickName"] = ctx->overrides[location->GetRandomizerCheck()].GetTrickName().english; + ["trickName"] = ctx->overrides[location->GetRandomizerCheck()].GetTrickName().GetEnglish(); break; case 2: jsonData["locations"][Rando::StaticData::GetLocation(location->GetRandomizerCheck())->GetName()] ["model"] = Rando::StaticData::RetrieveItem( ctx->overrides[location->GetRandomizerCheck()].LooksLike()) .GetName() - .french; + .GetFrench(); jsonData["locations"][Rando::StaticData::GetLocation(location->GetRandomizerCheck())->GetName()] - ["trickName"] = ctx->overrides[location->GetRandomizerCheck()].GetTrickName().french; + ["trickName"] = ctx->overrides[location->GetRandomizerCheck()].GetTrickName().GetFrench(); break; } } |
