mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 15:00:13 -05:00
Fix mystery items applying to GI skipped items (#4886)
This commit is contained in:
parent
a06b6c4365
commit
7f4344e28e
@ -405,7 +405,8 @@ void EnItem00_DrawRandomizedItem(EnItem00* enItem00, PlayState* play) {
|
||||
f32 mtxScale = CVarGetFloat(CVAR_ENHANCEMENT("TimeSavers.SkipGetItemAnimationScale"), 10.0f);
|
||||
Matrix_Scale(mtxScale, mtxScale, mtxScale, MTXMODE_APPLY);
|
||||
GetItemEntry randoItem = enItem00->itemEntry;
|
||||
if (CVarGetInteger(CVAR_RANDOMIZER_ENHANCEMENT("MysteriousShuffle"), 0)) {
|
||||
if (CVarGetInteger(CVAR_RANDOMIZER_ENHANCEMENT("MysteriousShuffle"), 0) &&
|
||||
enItem00->actor.params != ITEM00_SOH_GIVE_ITEM_ENTRY) {
|
||||
randoItem = GET_ITEM_MYSTERY;
|
||||
}
|
||||
EnItem00_CustomItemsParticles(&enItem00->actor, play, randoItem);
|
||||
|
Loading…
Reference in New Issue
Block a user