Fix wallet display for More Info with non-rando saves. (#4467)

This commit is contained in:
Malkierian 2024-10-22 10:10:50 -07:00 committed by GitHub
parent dee885622e
commit 8c304d54b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -682,7 +682,7 @@ void SaveManager::InitMeta(int fileNum) {
fileMetaInfo[fileNum].gsTokens = gSaveContext.inventory.gsTokens;
fileMetaInfo[fileNum].isDoubleDefenseAcquired = gSaveContext.isDoubleDefenseAcquired;
fileMetaInfo[fileNum].gregFound = Flags_GetRandomizerInf(RAND_INF_GREG_FOUND);
fileMetaInfo[fileNum].hasWallet = Flags_GetRandomizerInf(RAND_INF_HAS_WALLET);
fileMetaInfo[fileNum].hasWallet = Flags_GetRandomizerInf(RAND_INF_HAS_WALLET) || !IS_RANDO;
fileMetaInfo[fileNum].defense = gSaveContext.inventory.defenseHearts;
fileMetaInfo[fileNum].health = gSaveContext.health;
auto randoContext = Rando::Context::GetInstance();