mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 15:00:13 -05:00
Fix improper usage of GetFinalGIEntry, passing the RG instead of GI (#4938)
This commit is contained in:
parent
bc561efa8e
commit
69e3342808
@ -273,7 +273,9 @@ void RandomizerOnPlayerUpdateForRCQueueHandler() {
|
||||
|
||||
RandomizerCheck rc = randomizerQueuedChecks.front();
|
||||
auto loc = Rando::Context::GetInstance()->GetItemLocation(rc);
|
||||
GetItemEntry getItemEntry = Rando::Context::GetInstance()->GetFinalGIEntry(rc, true, (GetItemID)Rando::StaticData::GetLocation(rc)->GetVanillaItem());
|
||||
RandomizerGet vanillaRandomizerGet = Rando::StaticData::GetLocation(rc)->GetVanillaItem();
|
||||
GetItemID vanillaItem = (GetItemID)Rando::StaticData::RetrieveItem(vanillaRandomizerGet).GetItemID();
|
||||
GetItemEntry getItemEntry = Rando::Context::GetInstance()->GetFinalGIEntry(rc, true, (GetItemID)vanillaRandomizerGet);
|
||||
|
||||
if (loc->HasObtained()) {
|
||||
SPDLOG_INFO("RC {} already obtained, skipping", static_cast<uint32_t>(rc));
|
||||
|
Loading…
Reference in New Issue
Block a user