bush drop fix (#3148)

This commit is contained in:
inspectredc
2023-09-10 18:48:17 +01:00
committed by GitHub
parent ccc933c59a
commit 0f41b25918
2 changed files with 7 additions and 1 deletions

View File

@@ -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--;
}