Skip to content

Commit

Permalink
Implement cvar
Browse files Browse the repository at this point in the history
  • Loading branch information
aMannus committed Jan 8, 2024
1 parent 41b56e5 commit a48ed26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions soh/soh/Enhancements/presets.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ const std::vector<const char*> enhancementsCvars = {
"gChestSizeDependsStoneOfAgony",
"gSkipArrowAnimation",
"gSeparateArrows",
"gRocsFeather",
"gCustomizeShootingGallery",
"gInstantShootingGalleryWin",
"gConstantAdultGallery",
Expand Down
2 changes: 1 addition & 1 deletion soh/src/overlays/actors/ovl_player_actor/z_player.c
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ void func_80833DF8(Player* this, PlayState* play) {
if ((item < ITEM_NONE_FE) && (Player_ItemToItemAction(item) == this->heldItemAction)) {
D_80853618 = true;
}
} else if (item != ITEM_NAYRUS_LOVE) {
} else if (item != ITEM_NAYRUS_LOVE || !CVar_GetS32("gRocsFeather", 0)) {
this->heldItemButton = i;
func_80835F44(play, this, item);
} else if (this->rocUseCount == 0) {
Expand Down

0 comments on commit a48ed26

Please sign in to comment.