Browse Source

Telekenisis respects Disable Crippling Shrines Setting

pull/5853/head
obligaron 3 years ago committed by Anders Jenbo
parent
commit
6e364f2167
  1. 2
      Source/inv.cpp

2
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);

Loading…
Cancel
Save