Skip to content

Commit

Permalink
Disable Shift+click inventory qol
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills authored Sep 27, 2023
1 parent 1616318 commit 033674e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/diablo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void LeftMouseDown(uint16_t modState)
CheckChrBtns();
} else if (invflag && GetRightPanel().contains(MousePosition)) {
if (!dropGoldFlag)
CheckInvItem(isShiftHeld, isCtrlHeld);
CheckInvItem(false, isCtrlHeld);
} else if (IsStashOpen && GetLeftPanel().contains(MousePosition)) {
if (!IsWithdrawGoldOpen)
CheckStashItem(MousePosition, isShiftHeld, isCtrlHeld);
Expand Down
2 changes: 1 addition & 1 deletion Source/inv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ void CheckInvScrn(bool isShiftHeld, bool isCtrlHeld)
const Point mainPanelPosition = GetMainPanel().position;
if (MousePosition.x > 190 + mainPanelPosition.x && MousePosition.x < 437 + mainPanelPosition.x
&& MousePosition.y > mainPanelPosition.y && MousePosition.y < 33 + mainPanelPosition.y) {
CheckInvItem(isShiftHeld, isCtrlHeld);
CheckInvItem(false, isCtrlHeld);
}
}

Expand Down

0 comments on commit 033674e

Please sign in to comment.