Fix finite shields getting thier effect applied in SCL (#5130)

This commit is contained in:
Pepper0ni 2025-03-19 10:15:55 +00:00 committed by GitHub
parent 37a2730df2
commit dd7dee8f07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1785,7 +1785,7 @@ namespace Rando {
case ITEMTYPE_EQUIP: case ITEMTYPE_EQUIP:
{ {
RandomizerGet itemRG = item.GetRandomizerGet(); RandomizerGet itemRG = item.GetRandomizerGet();
if (itemRG == RG_GIANTS_KNIFE) { if (itemRG == RG_GIANTS_KNIFE || itemRG == RG_DEKU_SHIELD || itemRG == RG_HYLIAN_SHIELD) {
return; return;
} }
uint32_t equipId = RandoGetToEquipFlag.find(itemRG)->second; uint32_t equipId = RandoGetToEquipFlag.find(itemRG)->second;