From 5a75e076b6816e01b185343d97e15e961cd2d7ae Mon Sep 17 00:00:00 2001 From: staphen Date: Thu, 14 Oct 2021 16:35:13 -0400 Subject: [PATCH] [Gamepad] Don't treat special cursors as items --- Source/controls/plrctrls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/controls/plrctrls.cpp b/Source/controls/plrctrls.cpp index 12f48a6d5..773483e2a 100644 --- a/Source/controls/plrctrls.cpp +++ b/Source/controls/plrctrls.cpp @@ -655,7 +655,7 @@ void InvMove(AxisDirection dir) Point mousePos = MousePosition; - const bool isHoldingItem = pcurs > 1; + const bool isHoldingItem = pcurs >= CURSOR_FIRSTITEM; // normalize slots if (Slot < 0)