From 9c10f4301900f2dd0fe2cfa2b9dd8fdd8245f0d7 Mon Sep 17 00:00:00 2001 From: qndel Date: Tue, 26 Oct 2021 20:54:38 +0200 Subject: [PATCH] disable using crippling shrines with controller --- Source/controls/plrctrls.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/controls/plrctrls.cpp b/Source/controls/plrctrls.cpp index c410ab3ec..c97fee1be 100644 --- a/Source/controls/plrctrls.cpp +++ b/Source/controls/plrctrls.cpp @@ -171,6 +171,8 @@ void FindItemOrObject() continue; if (xx != 0 && yy != 0 && GetDistance({ mx + xx, my + yy }, 1) == 0) continue; + if (objectIsDisabled(o)) + continue; rotations = newRotations; pcursobj = o; cursPosition = Point { mx, my } + Displacement { xx, yy };