Skip to content

Commit

Permalink
Don't delete items during lag spike
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills committed Feb 8, 2025
1 parent 041311b commit 05d933c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/controls/plrctrls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,8 @@ void PerformPrimaryAction()
{
if (invflag) { // inventory is open
if (pcurs > CURSOR_HAND && pcurs < CURSOR_FIRSTITEM) {
if (pcurs == CURSOR_HOURGLASS)
return;
TryIconCurs();
NewCursor(CURSOR_HAND);
} else if (GetRightPanel().contains(MousePosition) || GetMainPanel().contains(MousePosition)) {
Expand Down

0 comments on commit 05d933c

Please sign in to comment.