Add master sword to ItemIDtoRandomizerGetMap to prevent assert crash in Return_Item after custom GIE was removed for MS. (#4584)

This commit is contained in:
Malkierian 2024-11-25 20:36:35 -07:00 committed by GitHub
parent 7662fa4c3c
commit 31120b7188
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -874,6 +874,7 @@ std::unordered_map<ItemID, RandomizerGet> ItemIDtoRandomizerGetMap {
{ ITEM_KOKIRI_EMERALD, RG_KOKIRI_EMERALD }, { ITEM_KOKIRI_EMERALD, RG_KOKIRI_EMERALD },
{ ITEM_GORON_RUBY, RG_GORON_RUBY }, { ITEM_GORON_RUBY, RG_GORON_RUBY },
{ ITEM_ZORA_SAPPHIRE, RG_ZORA_SAPPHIRE }, { ITEM_ZORA_SAPPHIRE, RG_ZORA_SAPPHIRE },
{ ITEM_SWORD_MASTER, RG_MASTER_SWORD },
}; };
extern "C" RandomizerGet RetrieveRandomizerGetFromItemID(ItemID itemID) { extern "C" RandomizerGet RetrieveRandomizerGetFromItemID(ItemID itemID) {