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 authored and AJenbo committed Feb 8, 2025
1 parent 9d8990a commit 5643cf8
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 @@ -1891,6 +1891,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 5643cf8

Please sign in to comment.