mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 10:52:19 -05:00
bush drop fix (#3148)
This commit is contained in:
parent
ccc933c59a
commit
0f41b25918
@ -1017,6 +1017,8 @@ void DrawEnhancementsMenu() {
|
||||
UIWidgets::PaddedEnhancementCheckbox("Fix Poacher's Saw Softlock", "gFixSawSoftlock", true, false, CVarGetInteger("gSkipText", 0),
|
||||
"This is disabled because it is forced on when Skip Text is enabled.", UIWidgets::CheckboxGraphics::Checkmark);
|
||||
UIWidgets::Tooltip("Prevents the Poacher's Saw softlock from mashing through the text, or with Skip Text enabled.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Fix Bush Item Drops", "gBushDropFix", true, false);
|
||||
UIWidgets::Tooltip("Fixes the bushes to drop items correctly rather than spawning undefined items.");
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
@ -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--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user