Fix Zora's Sapphire crash (#4254)

This commit is contained in:
Christopher Leggett 2024-07-29 21:48:49 -04:00 committed by GitHub
parent 06b20a05dd
commit cab0871fe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2092,7 +2092,7 @@ void DemoEffect_DrawGetItem(Actor* thisx, PlayState* play) {
RandomizerCheck rc = RC_MAX; RandomizerCheck rc = RC_MAX;
RandomizerGet rg = RG_NONE; RandomizerGet rg = RG_NONE;
switch (this->actor.params) { switch (this->actor.params & 0x00FF) {
case DEMO_EFFECT_JEWEL_KOKIRI: case DEMO_EFFECT_JEWEL_KOKIRI:
rc = RC_QUEEN_GOHMA; rc = RC_QUEEN_GOHMA;
rg = RG_KOKIRI_EMERALD; rg = RG_KOKIRI_EMERALD;