From 6e364f2167c5944e6e302c8a8c7675f6290d8289 Mon Sep 17 00:00:00 2001 From: obligaron Date: Wed, 1 Mar 2023 19:03:53 +0100 Subject: [PATCH] Telekenisis respects Disable Crippling Shrines Setting --- Source/inv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/inv.cpp b/Source/inv.cpp index 71028780b..57b0888b6 100644 --- a/Source/inv.cpp +++ b/Source/inv.cpp @@ -2149,7 +2149,7 @@ void CloseInventory() void DoTelekinesis() { - if (ObjectUnderCursor != nullptr) + if (ObjectUnderCursor != nullptr && !ObjectUnderCursor->IsDisabled()) NetSendCmdLoc(MyPlayerId, true, CMD_OPOBJT, cursPosition); if (pcursitem != -1) NetSendCmdGItem(true, CMD_REQUESTAGITEM, MyPlayerId, pcursitem);