summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorinspectredc <78732756+inspectredc@users.noreply.github.com>2023-09-10 18:48:17 +0100
committerGitHub <noreply@github.com>2023-09-10 12:48:17 -0500
commit0f41b2591853e915ebec5b749a2c81d5a44b6cd5 (patch)
treeeff68fea61ddfcb83d20eed41f0bcfc75f173e11 /soh/src/code
parentccc933c59a90023e4b95b53eda8729d71d0c6dff (diff)
bush drop fix (#3148)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_en_item00.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/soh/src/code/z_en_item00.c b/soh/src/code/z_en_item00.c
index 22a03ea32..9d2b2dd74 100644
--- a/soh/src/code/z_en_item00.c
+++ b/soh/src/code/z_en_item00.c
@@ -1753,7 +1753,11 @@ void Item_DropCollectibleRandom(PlayState* play, Actor* fromActor, Vec3f* spawnP
}
}
} else {
- Item_DropCollectible(play, spawnPos, params | 0x8000);
+ if (CVarGetInteger("gBushDropFix", 0)) {
+ Item_DropCollectible(play, spawnPos, dropId | 0x8000);
+ } else {
+ Item_DropCollectible(play, spawnPos, params | 0x8000);
+ }
}
dropQuantity--;
}